Index: opensc-0.11.13/src/signer/Makefile.am =================================================================== --- opensc-0.11.13/src/signer/Makefile.am +++ opensc-0.11.13/src/signer/Makefile.am @@ -2,8 +2,9 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefil SUBDIRS = npinclude if ENABLE_NSPLUGIN +nsplugindir = $(plugindir) noinst_HEADERS = opensc-crypto.h opensc-support.h signer.h -lib_LTLIBRARIES = opensc-signer.la +nsplugin_LTLIBRARIES = opensc-signer.la dist_noinst_DATA = testprog.c endif @@ -18,10 +19,3 @@ opensc_signer_la_LIBADD = $(OPENSSL_LIBS opensc_signer_la_LDFLAGS = $(AM_LDFLAGS) \ -export-symbols "$(srcdir)/signer.exports" \ -module -avoid-version -no-undefined - -if ENABLE_NSPLUGIN -plugin_DATA=#Create directory -install-exec-hook: install-pluginDATA - -rm -f "$(DESTDIR)$(plugindir)/opensc-signer.so" - $(LN_S) "$(libdir)/opensc-signer.so" "$(DESTDIR)$(plugindir)" -endif