[Cryptech-Commits] [sw/pkcs11] branch master updated: Reorder ld arguments to get search order right.

git at cryptech.is git at cryptech.is
Fri Jun 24 03:02:18 UTC 2016


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

sra at hactrn.net pushed a commit to branch master
in repository sw/pkcs11.

The following commit(s) were added to refs/heads/master by this push:
       new  8be614f   Reorder ld arguments to get search order right.
8be614f is described below

commit 8be614f02ddd5772582e375084ad0822524fd888
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Thu Jun 23 23:00:19 2016 -0400

    Reorder ld arguments to get search order right.
---
 GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 77e8748..c936c4a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -116,7 +116,7 @@ pkcs11.o: pkcs11.c schema.h attributes.h
 	${CC} ${CFLAGS} -c $<
 
 pkcs11.so: pkcs11.o ${LIBS}
-	${CC} ${CFLAGS} -shared -o $@ ${SOFLAGS} ${LDFLAGS} $^
+	${CC} ${CFLAGS} -shared -o $@ $^ ${SOFLAGS} ${LDFLAGS}
 
 libpkcs11.so: pkcs11.so
 	${OBJCOPY} -w -G 'C_*' $< $@
@@ -125,7 +125,7 @@ p11util.o: p11util.c schema.h
 	${CC} ${CFLAGS} -c $<
 
 p11util: p11util.o ${LIBS}
-	${CC} ${CFLAGS} -o $@ ${LDFLAGS} $^
+	${CC} ${CFLAGS} -o $@ $^ ${LDFLAGS}
 
 tags: TAGS
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list