mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #751 from sonOfRa/master
Add a configure flag for disabling soname versions
This commit is contained in:
commit
c84df4a4af
21
configure.ac
21
configure.ac
|
@ -22,11 +22,6 @@ dnl revision: increment if source code has changed, set to zero if current is
|
|||
dnl incremented
|
||||
dnl age: increment if interfaces have been added, set to zero if
|
||||
dnl interfaces have been removed or changed
|
||||
TOXCORE_LT_LDFLAGS="-version-info $LIBTOXCORE_LT_VERSION"
|
||||
TOXAV_LT_LDFLAGS="-version-info $LIBTOXAV_LT_VERSION"
|
||||
|
||||
AC_SUBST(TOXCORE_LT_LDFLAGS)
|
||||
AC_SUBST(TOXAV_LT_LDFLAGS)
|
||||
|
||||
if test "x${prefix}" = "xNONE"; then
|
||||
prefix="${ac_default_prefix}"
|
||||
|
@ -44,6 +39,22 @@ LIBCONFIG_FOUND="no"
|
|||
LIBCHECK_FOUND="no"
|
||||
WANT_NACL="no"
|
||||
|
||||
TOXCORE_LT_LDFLAGS="-version-info $LIBTOXCORE_LT_VERSION"
|
||||
TOXAV_LT_LDFLAGS="-version-info $LIBTOXAV_LT_VERSION"
|
||||
|
||||
AC_ARG_ENABLE([soname-versions],
|
||||
[AC_HELP_STRING([--enable-soname-versions], [enable soname versions (must be disabled for android) (default: enabled)]) ],
|
||||
[
|
||||
if test "x$enableval" = "xno"; then
|
||||
TOXCORE_LT_LDFLAGS="-avoid-version"
|
||||
TOXAV_LT_LDFLAGS="-avoid-version"
|
||||
fi
|
||||
]
|
||||
)
|
||||
|
||||
AC_SUBST(TOXCORE_LT_LDFLAGS)
|
||||
AC_SUBST(TOXAV_LT_LDFLAGS)
|
||||
|
||||
AC_ARG_ENABLE([nacl],
|
||||
[AC_HELP_STRING([--enable-nacl], [use nacl instead of libsodium (default: disabled)]) ],
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue
Block a user