diff options
Diffstat (limited to 'src/lib/crypto/configure.in')
-rw-r--r-- | src/lib/crypto/configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/crypto/configure.in b/src/lib/crypto/configure.in index 387255a..1ccce9c 100644 --- a/src/lib/crypto/configure.in +++ b/src/lib/crypto/configure.in @@ -8,6 +8,14 @@ AC_PROG_INSTALL V5_SHARED_LIB_OBJS SubdirLibraryRule([${OBJS}]) DO_SUBDIRS -AppendRule([all:: libcrypto.a]) +LinkFileDir(../libcrypto.a, libcrypto.a, ./crypto) +AppendRule([all-unix:: ../libcrypto.a]) V5_MAKE_SHARED_LIB(libcrypto) +AC_ARG_ENABLE([shared], +[ --enable-shared build shared libraries],[ +LinkFileDir(../libcrypto.[$](SHEXT), libcrypto.[$](SHEXT), ./crypto) +AppendRule([all-unix:: ../libcrypto.$(SHEXT)]) +])dnl +AppendRule([all-unix:: libcrypto.a]) +AppendRule([all:: all-$(WHAT)]) V5_AC_OUTPUT_MAKEFILE |