diff --git a/configure.ac b/configure.ac index b85a3fc93..65fc51586 100644 --- a/configure.ac +++ b/configure.ac @@ -317,6 +317,9 @@ CXXFLAGS="$CXXFLAGS `$WX_CONFIG $wxconfigargs --cxxflags`" dnl----------------------------------------------------------------- dnl Pull in library Cflags and so on for the non-optional libraries +dnl All libraries in lib-src should build static libraries, but not shared ones. +ac_configure_args="$ac_configure_args --enable-static=yes --enable-shared=no" + dnl Include FileDialog AC_CONFIG_SUBDIRS([lib-src/FileDialog]) LOCAL_LIBS="$LOCAL_LIBS FileDialog.a" diff --git a/m4/audacity_checklib_libsoundtouch.m4 b/m4/audacity_checklib_libsoundtouch.m4 index 5c9967712..fdbf8f510 100644 --- a/m4/audacity_checklib_libsoundtouch.m4 +++ b/m4/audacity_checklib_libsoundtouch.m4 @@ -59,7 +59,6 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBSOUNDTOUCH], [ LIBSOUNDTOUCH_LOCAL_LIBS="libSoundTouch.a" LIBSOUNDTOUCH_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/soundtouch/include' LIBSOUNDTOUCH_LOCAL_CPPSYMBOLS="USE_SOUNDTOUCH" - LIBSOUNDTOUCH_LOCAL_CONFIGURE_ARGS="--enable-static=yes --enable-shared=no" AC_MSG_NOTICE([libsoundtouch libraries are available in the local tree]) else LIBSOUNDTOUCH_LOCAL_AVAILABLE="no"