Explorar el Código

SDL: Updated patches for HAIKU

kenmays hace 4 años
padre
commit
c0601d0123
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  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