summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 18033f87aa..71e418f3a9 100755
--- a/configure
+++ b/configure
@@ -5021,6 +5021,10 @@ EOF
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