[pkg-opensc-commit] [pam-p11] 53/66: build: build only shared library, remove hacks
Eric Dorland
eric at moszumanska.debian.org
Tue Jun 13 04:06:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository pam-p11.
commit a5480c125930c29202c56a51055d37cc65bd52c1
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date: Fri Sep 27 23:23:52 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 | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 345b011..9c57e9e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,21 +4,11 @@ EXTRA_DIST = test.c
AM_CFLAGS = $(OPENSSL_CFLAGS) $(LIBP11_CFLAGS) $(PAM_CFLAGS)
LIBS = $(OPENSSL_LIBS) $(LIBP11_LIBS) $(PAM_LIBS)
-AM_LDFLAGS = -module -avoid-version -shared -no-undefined \
+AM_LDFLAGS = -module -shared -avoid-version -shared -no-undefined \
-export-symbols "$(srcdir)/pam_p11.exports"
pam_LTLIBRARIES = pam_p11_openssh.la pam_p11_opensc.la
-# Needed until libtool-2
-install-data-hook: install-pamLTLIBRARIES
- rm -f "$(DESTDIR)$(pamdir)/pam_p11_openssh.la"
- rm -f "$(DESTDIR)$(pamdir)/pam_p11_openssh.a"
- rm -f "$(DESTDIR)$(pamdir)/pam_p11_opensc.la"
- rm -f "$(DESTDIR)$(pamdir)/pam_p11_opensc.a"
-uninstall-local:
- rm -f "$(DESTDIR)$(pamdir)/pam_p11_openssh.so"
- rm -f "$(DESTDIR)$(pamdir)/pam_p11_opensc.so"
-
pam_p11_openssh_la_SOURCES = pam_p11.c base64.c match_openssh.c \
pam_p11.exports
pam_p11_opensc_la_SOURCES = pam_p11.c match_opensc.c \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pam-p11.git
More information about the pkg-opensc-commit
mailing list