]> Repos - portaudio/commitdiff
patch from Rafaël Carré: clear SHARED_FLAGS in configure.in when --disable-shared...
authorrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Fri, 22 Oct 2010 02:30:38 +0000 (02:30 +0000)
committerrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Fri, 22 Oct 2010 02:30:38 +0000 (02:30 +0000)
configure.in

index 79ebc6717edd4ae063f47a58644d83e88f453fcb..b1be08eff963e4c8f55f8b30228ae58be6262564 100644 (file)
@@ -363,6 +363,8 @@ case "${host_os}" in
 esac
 CFLAGS="$CFLAGS $THREAD_CFLAGS"
 
+test "$enable_shared" != "yes" && SHARED_FLAGS=""
+
 if test "$enable_cxx" = "yes"; then
    AC_CONFIG_SUBDIRS([bindings/cpp])
    ENABLE_CXX_TRUE=""