[pkg-opensc-commit] [libp11] 22/33: Makefile.am: Add library dependency for check-local target
Eric Dorland
eric at moszumanska.debian.org
Mon Sep 19 02:11:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libp11.
commit 68f76c7c24d5163715a040271dc22c3ec3648fd1
Author: Derek Straka <derek at asterius.io>
Date: Wed Aug 17 10:37:38 2016 -0400
Makefile.am: Add library dependency for check-local target
* When a large number of parallel jobs (e.g. -j 24) executed, the build would fail
with the following:
cd .libs && ln -s -f pkcs11.so libpkcs11.so
/bin/bash: line 0: cd: .libs: No such file or directory
Signed-off-by: Derek Straka <derek at asterius.io>
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 5b0bd9d..eb91f56 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,7 +37,7 @@ pkcs11_la_LDFLAGS = $(AM_LDFLAGS) -module -shared -shrext $(SHARED_EXT) \
-avoid-version -export-symbols "$(srcdir)/pkcs11.exports"
# OpenSSL older than 1.1.0 expected libpkcs11.so instead of pkcs11.so
-check-local:
+check-local: $(LTLIBRARIES)
cd .libs && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT)
install-exec-hook:
cd '$(DESTDIR)$(enginesdir)' && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git
More information about the pkg-opensc-commit
mailing list