diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-09-15 07:52:05 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-09-15 07:52:05 -0700 |
commit | a3abe794b734382295b89d6c2d1d176ce4bb9b4b (patch) | |
tree | 95e345dd609035922e9beeb9e22ec11cdc6308aa /android-configure.sh | |
parent | 2a7dcd0aef9ff770f4a215d2195d509763f6d3ce (diff) | |
parent | 63a13ab8230560f5b9610bb0fa6a47a54ebf8e9c (diff) | |
download | external_qemu-a3abe794b734382295b89d6c2d1d176ce4bb9b4b.zip external_qemu-a3abe794b734382295b89d6c2d1d176ce4bb9b4b.tar.gz external_qemu-a3abe794b734382295b89d6c2d1d176ce4bb9b4b.tar.bz2 |
merge from open-source master
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 |