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.
This commit is contained in:
parent
3128c79528
commit
eca7d0493c
1 changed files with 2 additions and 0 deletions
|
|
@ -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=""
|
||||
|
|
|
|||
Loading…
Reference in a new issue