Browse Source

SDL: Updated patches for HAIKU

kenmays 4 years ago
parent
commit
c0601d0123
1 changed files with 11 additions and 0 deletions
  1. 11 0
      configure.ac

+ 11 - 0
configure.ac

@@ -81,6 +81,17 @@ case "$host" in
         ;;
 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
     INCLUDE="-Iinclude $INCLUDE"
 elif test -d .git; then