configure.in
changeset 11205 ab9d4689a439
parent 11175 cbc6a8a5b701
child 11230 15b10ad902dd
     1.1 --- a/configure.in	Wed Aug 09 18:30:48 2017 -0400
     1.2 +++ b/configure.in	Wed Aug 09 18:41:59 2017 -0400
     1.3 @@ -3534,7 +3534,10 @@
     1.4          fi
     1.5          # The Haiku platform requires special setup.
     1.6          SOURCES="$srcdir/src/main/haiku/*.cc $SOURCES"
     1.7 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding -lstdc++.r4"
     1.8 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
     1.9 +        # Haiku's x86 spins use libstdc++.r4.so (for binary compat?), but
    1.10 +        #  other spins, like x86-64, use a more standard "libstdc++.so.*"
    1.11 +        AC_CHECK_FILE("/boot/system/lib/libstdc++.r4.so", EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lstdc++.r4", EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lstdc++")
    1.12          ;;
    1.13      arm*-apple-darwin*|*-ios-*)
    1.14          ARCH=ios