summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 5ceb8db29e..274f2c497e 100755
--- a/configure
+++ b/configure
@@ -3788,10 +3788,10 @@ EOF
_gl=no
if cc_check $_inc_x11 $_ld_x11 -lGL $_ld_lm ; then
_gl=yes
- _ld_gl="-lGL"
+ _ld_gl="-lGL $_ld_dl"
elif cc_check $_inc_x11 $_ld_x11 -lGL $_ld_lm $_ld_pthread ; then
_gl=yes
- _ld_gl="-lGL $_ld_pthread"
+ _ld_gl="-lGL $_ld_pthread $_ld_ld"
elif cc_check -lopengl32 ; then
_gl=yes
_gl_win32=yes