configure: Fixes to make SDL link as C++ on Haiku.

Fixes #4590.
This commit is contained in:
Ryan C. Gordon
2021-08-06 14:08:50 -04:00
parent 10979d37fb
commit ac20167ef7
3 changed files with 11 additions and 3 deletions

4
configure vendored
View File

@@ -690,6 +690,7 @@ ALSA_CFLAGS
POW_LIB
LIBOBJS
ALLOCA
LIBTOOLLINKERTAG
LINKER
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
@@ -16020,13 +16021,16 @@ esac
case "$host" in
*-*-haiku*)
LINKER='$(CXX)'
LIBTOOLLINKERTAG='CXX'
;;
*)
LINKER='$(CC)'
LIBTOOLLINKERTAG='CC'
;;
esac
if test x$srcdir != x.; then
INCLUDE="-Iinclude $INCLUDE"
elif test -d .git; then