diff configure @ 16118:322e569c47bd

OpenGL needs _ld_dl to get extension functions
author reimar
date Wed, 27 Jul 2005 17:32:14 +0000
parents ab6119582b54
children 06b1f9d7dd4a
line wrap: on
line diff
--- a/configure	Wed Jul 27 17:22:24 2005 +0000
+++ b/configure	Wed Jul 27 17:32:14 2005 +0000
@@ -3788,10 +3788,10 @@
   _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