From a027b5533f7db57298d1a8643fb388324b65d9a7 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 4 Sep 2010 09:39:21 +0000 Subject: configure: Add a hack to work with BeOS/Haiku libsdl git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32045 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3