changeset 16118:322e569c47bd

OpenGL needs _ld_dl to get extension functions
author reimar
date Wed, 27 Jul 2005 17:32:14 +0000
parents d280ec2b9e63
children a9f57b8653de
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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