SDL: Updated patches for HAIKU

This commit is contained in:
kenmays 2021-07-25 10:15:03 -07:00 committed by Sam Lantinga
parent 761d38379b
commit c0601d0123
1 changed files with 11 additions and 0 deletions

View File

@ -81,6 +81,17 @@ case "$host" in
;; ;;
esac esac
dnl use CXX for linker on Haiku
case "$host" in
*-*-haiku*)
LINKER=CXX
;;
*)
LINKER=CC
;;
esac
AC_SUBST(LINKER)
if test x$srcdir != x.; then if test x$srcdir != x.; then
INCLUDE="-Iinclude $INCLUDE" INCLUDE="-Iinclude $INCLUDE"
elif test -d .git; then elif test -d .git; then