Merge pull request #463 from thesamesam/master
libsubid: fix defining SONAME version
This commit is contained in:
commit
b8c67c320c
@ -321,8 +321,6 @@ if test "$with_sha_crypt" = "yes"; then
|
||||
AC_DEFINE(USE_SHA_CRYPT, 1, [Define to allow the SHA256 and SHA512 password encryption algorithms])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(ENABLE_SHARED, test "x$enable_shared" = "xyes")
|
||||
|
||||
AM_CONDITIONAL(USE_BCRYPT, test "x$with_bcrypt" = "xyes")
|
||||
if test "$with_bcrypt" = "yes"; then
|
||||
AC_DEFINE(USE_BCRYPT, 1, [Define to allow the bcrypt password encryption algorithm])
|
||||
|
@ -1,10 +1,6 @@
|
||||
lib_LTLIBRARIES = libsubid.la
|
||||
if ENABLE_SHARED
|
||||
libsubid_la_LDFLAGS = -Wl,-soname,libsubid.so.@LIBSUBID_ABI@ \
|
||||
-shared -version-info @LIBSUBID_ABI_MAJOR@
|
||||
endif
|
||||
libsubid_la_SOURCES = api.c
|
||||
libsubid_la_LDFLAGS = -export-symbols-regex '^subid_'
|
||||
libsubid_la_LDFLAGS = -version-info @LIBSUBID_ABI_MAJOR@ -export-symbols-regex '^subid_'
|
||||
|
||||
pkginclude_HEADERS = subid.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user