From 8be614f02ddd5772582e375084ad0822524fd888 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 23 Jun 2016 23:00:19 -0400 Subject: Reorder ld arguments to get search order right. --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') 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 -- cgit v1.2.3