summaryrefslogtreecommitdiff
path: root/configs/linux-x86-static
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-10-31 17:12:07 -0700
committerDan Nicholson <dbn.lists@gmail.com>2007-12-07 11:49:40 -0800
commit6aaf9bdd418e11d5ccb76a6ab85a8df36b0c8804 (patch)
tree9a50ad38cf2683bf76d33bb4845959d12741dc72 /configs/linux-x86-static
parente2ca788ae700aae75bf8d024c1374c38cc5574f9 (diff)
configs: Fix linking with static libGL and --as-needed
Linking of the programs breaks when using a static libGL and the GNU ld option --as-needed. This is because libXext is needed for the XShm functions.
Diffstat (limited to 'configs/linux-x86-static')
-rw-r--r--configs/linux-x86-static3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/linux-x86-static b/configs/linux-x86-static
index 2b6478b586..645196c09f 100644
--- a/configs/linux-x86-static
+++ b/configs/linux-x86-static
@@ -20,4 +20,5 @@ OSMESA_LIB_DEPS =
GLU_LIB_DEPS =
GLUT_LIB_DEPS =
GLW_LIB_DEPS =
-APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
+APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread \
+ -lstdc++ -lm