changeset 31961:744b676c1654

Add a hack to work with BeOS/Haiku libsdl.
author reimar
date Sat, 04 Sep 2010 09:39:21 +0000
parents 1ba5eef167aa
children 52509abc73e6
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Sep 04 08:36:38 2010 +0000
+++ b/configure	Sat Sep 04 09:39:21 2010 +0000
@@ -5333,6 +5333,10 @@
     fi
     if cc_check $_inc_tmp $_ld_tmp >>"$TMPLOG" 2>&1 ; then
           _sdl=yes
+    elif cc_check $_inc_tmp $_ld_tmp -lstdc++ >>"$TMPLOG" 2>&1 ; then
+          # HACK for BeOS/Haiku SDL
+          _ld_tmp="$_ld_tmp -lstdc++"
+          _sdl=yes
      fi
   fi
 fi