summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-09-04 09:39:21 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:16:45 +0200
commita027b5533f7db57298d1a8643fb388324b65d9a7 (patch)
tree64b5ee3cf5eb6fa9b465e27583724c287d22d73a /configure
parentf2899d96eecc7de5a3f4b2ef231e514085e467e0 (diff)
downloadmpv-a027b5533f7db57298d1a8643fb388324b65d9a7.tar.bz2
mpv-a027b5533f7db57298d1a8643fb388324b65d9a7.tar.xz
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
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