aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 95fce05..0eb86e3 100644
--- a/Makefile
+++ b/Makefile
@@ -179,9 +179,7 @@ ifeq "${UNAME}" "Darwin"
else
${SONAME}: pkcs11.o ${LIBS}
- ${CC} ${CFLAGS} -shared -o $@.tmp $^ ${SOFLAGS} ${LDFLAGS}
- ${OBJCOPY} -w -G 'C_*' $@.tmp $@
- rm -f $@.tmp
+ ${CC} ${CFLAGS} -Wl,--version-script=libcryptech-pkcs11.map -shared -o $@ $^ ${SOFLAGS} ${LDFLAGS}
endif