[pkg-opensc-commit] [engine-pkcs11] 102/152: build: build only shared library, remove hacks

Eric Dorland eric at moszumanska.debian.org
Mon Oct 19 03:11:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository engine-pkcs11.

commit 49d0a429562891aa8a47f13cdf1be10d86ac1f00
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Fri Sep 27 23:20:59 2013 +0300

    build: build only shared library, remove hacks
    
    newer libtool support -shared to instruct build only shared libraries.
    
    Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
---
 src/Makefile.am | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 3febe07..72a3ffe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,15 +21,10 @@ engine_pkcs11_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_EXTRA_CFLAGS) $(OPENSSL_CFLAGS)
 	$(LIBP11_CFLAGS)
 engine_pkcs11_la_LIBADD = $(ENGINE_LINK) $(OPENSSL_LIBS) $(LIBP11_LIBS)
 engine_pkcs11_la_LDFLAGS = $(AM_LDFLAGS) $(OPENSSL_EXTRA_LDFLAGS) \
-	-module -avoid-version \
+	-module -shared -avoid-version \
 	-export-symbols "$(srcdir)/engine_pkcs11.exports" \
 	-no-undefined
 
-install-data-hook:
-	rm -f "$(DESTDIR)$(enginesdir)/engine_pkcs11.la"
-	rm -f "$(DESTDIR)$(enginesdir)/engine_pkcs11.a"
-	rm -f "$(DESTDIR)$(enginesdir)/engine_pkcs11.dll.a"
-
 RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
 	$(AM_CPPFLAGS) $(CPPFLAGS)
 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git



More information about the pkg-opensc-commit mailing list