1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Build only static libtool libraries in lib-src.

Pass --enable-static=yes --enable-shared=no to all libraries in lib-src.
This commit is contained in:
benjamin.drung@gmail.com 2013-11-05 23:27:07 +00:00
parent ade56afd17
commit 0cb7e73bf5
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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"