From: rossb Date: Fri, 22 Oct 2010 02:30:38 +0000 (+0000) Subject: patch from Rafaël Carré: clear SHARED_FLAGS in configure.in when --disable-shared... X-Git-Tag: pa_stable_v19_20110326_r1647~82 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=eca7d0493c5d6a5f2cc4e17af5e35b93ca391b20;p=portaudio patch from Rafaël Carré: clear SHARED_FLAGS in configure.in when --disable-shared is used to avoid libtool setting -shared and breaking the build. --- diff --git a/configure.in b/configure.in index 79ebc67..b1be08e 100644 --- a/configure.in +++ b/configure.in @@ -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=""