diff options
author | Jeff Smith <[email protected]> | 2010-03-12 18:55:09 -0600 |
---|---|---|
committer | Dan Nicholson <[email protected]> | 2010-03-13 11:42:24 -0800 |
commit | 8d86d395dcf6a5f192b6987485bb7aef49f1fefc (patch) | |
tree | 63e097b1d9fda1848c5ef299ffb48b227b318734 /progs/xdemos | |
parent | 392d37609d85f42bf5fbcecbc285857e8ed265e5 (diff) |
Use X_LIBS from pkg-config, instead of libdir, for locating libX11
Signed-off-by: Jeff Smith <[email protected]>
Signed-off-by: Dan Nicholson <[email protected]>
Diffstat (limited to 'progs/xdemos')
-rw-r--r-- | progs/xdemos/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/xdemos/Makefile b/progs/xdemos/Makefile index e87d55d011e..f81aafe00f6 100644 --- a/progs/xdemos/Makefile +++ b/progs/xdemos/Makefile @@ -9,9 +9,9 @@ INCDIR = $(TOP)/include LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) # Add X11 and pthread libs to satisfy GNU gold. -APP_LIB_DEPS += -lX11 -lpthread +APP_LIB_DEPS += $(X_LIBS) -lpthread -LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(libdir) $(APP_LIB_DEPS) +LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(APP_LIB_DEPS) PROGS = \ corender \ |