# HG changeset patch # User reimar # Date 1283593161 0 # Node ID 744b676c16544d156dafb0c36ef43dc6e2c0ba79 # Parent 1ba5eef167aaefef4f44e9a9b4ddee24f62dd66c Add a hack to work with BeOS/Haiku libsdl. diff -r 1ba5eef167aa -r 744b676c1654 configure --- 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