aboutsummaryrefslogtreecommitdiffstats
path: root/configs/linux-x86-static
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2007-10-31 17:12:07 -0700
committerDan Nicholson <[email protected]>2007-12-07 11:51:18 -0800
commit1837b8c214a362ccecc441f7b6880f623e70b8d6 (patch)
treef1b8ca5add4c35d49c26aa164d19482f6140c0df /configs/linux-x86-static
parent03d2bc1774e3612edca4be48c5aeafaafa2a52b1 (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. (cherry picked from commit 6aaf9bdd418e11d5ccb76a6ab85a8df36b0c8804)
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 2b6478b5868..645196c09fa 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