diff options
Diffstat (limited to 'android-configure.sh')
-rwxr-xr-x | android-configure.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/android-configure.sh b/android-configure.sh index 59ec9b4..16e0d4d 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -203,6 +203,12 @@ log "SDL-probe : SDL_LIBS = $SDL_LIBS" EXTRA_CFLAGS="$SDL_CFLAGS" EXTRA_LDFLAGS="$SDL_LIBS" +case "$OS" in + freebsd-*) + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -lpthread" + ;; +esac + cat > $TMPC << EOF #include <SDL.h> #undef main @@ -269,6 +275,8 @@ case "$OS" in ;; linux-*) PROBE_ALSA=yes; PROBE_OSS=yes; PROBE_ESD=yes; ;; + freebsd-*) PROBE_OSS=yes; + ;; windows) PROBE_WINAUDIO=yes ;; esac @@ -414,6 +422,9 @@ case "$OS" in darwin-*) CONFIG_OS=DARWIN BSD=1 ;; + freebsd-*) CONFIG_OS=FREEBSD + BSD=1 + ;; windows*) CONFIG_OS=WIN32 ;; *) CONFIG_OS=$OS |