From c0601d0123808fce91519b34b12f5c06769cf3ff Mon Sep 17 00:00:00 2001 From: kenmays Date: Sun, 25 Jul 2021 10:15:03 -0700 Subject: [PATCH] SDL: Updated patches for HAIKU --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index 1dcb00f5e..10879ee8d 100644 --- a/configure.ac +++ b/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