mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 08:30: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:
parent
ade56afd17
commit
0cb7e73bf5
@ -317,6 +317,9 @@ CXXFLAGS="$CXXFLAGS `$WX_CONFIG $wxconfigargs --cxxflags`"
|
|||||||
dnl-----------------------------------------------------------------
|
dnl-----------------------------------------------------------------
|
||||||
dnl Pull in library Cflags and so on for the non-optional libraries
|
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
|
dnl Include FileDialog
|
||||||
AC_CONFIG_SUBDIRS([lib-src/FileDialog])
|
AC_CONFIG_SUBDIRS([lib-src/FileDialog])
|
||||||
LOCAL_LIBS="$LOCAL_LIBS FileDialog.a"
|
LOCAL_LIBS="$LOCAL_LIBS FileDialog.a"
|
||||||
|
@ -59,7 +59,6 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBSOUNDTOUCH], [
|
|||||||
LIBSOUNDTOUCH_LOCAL_LIBS="libSoundTouch.a"
|
LIBSOUNDTOUCH_LOCAL_LIBS="libSoundTouch.a"
|
||||||
LIBSOUNDTOUCH_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/soundtouch/include'
|
LIBSOUNDTOUCH_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/soundtouch/include'
|
||||||
LIBSOUNDTOUCH_LOCAL_CPPSYMBOLS="USE_SOUNDTOUCH"
|
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])
|
AC_MSG_NOTICE([libsoundtouch libraries are available in the local tree])
|
||||||
else
|
else
|
||||||
LIBSOUNDTOUCH_LOCAL_AVAILABLE="no"
|
LIBSOUNDTOUCH_LOCAL_AVAILABLE="no"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user