diff --git a/src/signer/Makefile.am b/src/signer/Makefile.am index 2aca76a0..e20a9d1e 100644 --- a/src/signer/Makefile.am +++ b/src/signer/Makefile.am @@ -26,4 +26,8 @@ noinst_HEADERS = \ opensc-crypto.h opensc-support.h signer.h install-exec-local: install-libLTLIBRARIES +if HAVE_SSL +if HAVE_ASSUAN -$(LN_S) -f $(libdir)/opensc-signer.so $(DESTDIR)$(plugindir)/ +endif +endif diff --git a/src/sslengines/Makefile.am b/src/sslengines/Makefile.am index 5b7ac86e..5b9c34a5 100644 --- a/src/sslengines/Makefile.am +++ b/src/sslengines/Makefile.am @@ -32,9 +32,11 @@ engine_pkcs11_la_LIBADD = @LIBCRYPTOA@ ../pkcs11/libpkcs11.la engine_pkcs11_la_LDFLAGS = @OPENSSL_LDFLAGS@ -module -avoid-version install-exec-local: install-libLTLIBRARIES +if HAVE_ENGINE if HAVE_BUNDLES -${top_srcdir}/macos/libtool-bundle $(DESTDIR)$(libdir)/engine_opensc.so \ $(DESTDIR)$(bundledir)/ -${top_srcdir}/macos/libtool-bundle $(DESTDIR)$(libdir)/engine_pkcs11.so \ $(DESTDIR)$(bundledir)/ endif +endif