From eca7d0493c5d6a5f2cc4e17af5e35b93ca391b20 Mon Sep 17 00:00:00 2001 From: rossb Date: Fri, 22 Oct 2010 02:30:38 +0000 Subject: [PATCH] =?utf8?q?patch=20from=20Rafa=C3=ABl=20Carr=C3=A9:=20clear?= =?utf8?q?=20SHARED=5FFLAGS=20in=20configure.in=20when=20--disable-shared?= =?utf8?q?=20is=20used=20to=20avoid=20libtool=20setting=20-shared=20and=20?= =?utf8?q?breaking=20the=20build.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- configure.in | 2 ++ 1 file changed, 2 insertions(+) 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="" -- 2.43.0