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

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

No files matched your search

+3
View File
@@ -85,12 +85,15 @@ dnl use CXX for linker on Haiku
case "$host" in
*-*-haiku*)
LINKER='$(CXX)'
LIBTOOLLINKERTAG='CXX'
;;
*)
LINKER='$(CC)'
LIBTOOLLINKERTAG='CC'
;;
esac
AC_SUBST(LINKER)
AC_SUBST(LIBTOOLLINKERTAG)
if test x$srcdir != x.; then
INCLUDE="-Iinclude $INCLUDE"