aboutsummaryrefslogtreecommitdiff
path: root/mk/lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/lib.mk')
-rw-r--r--mk/lib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/lib.mk b/mk/lib.mk
index 16c16a54..a5682dd9 100644
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -38,7 +38,7 @@ ${SHLIB_NAME}: ${SOBJS}
@${ECHO} building shared library $@
@rm -f $@ ${SHLIB_LINK}
@ln -fs $@ ${SHLIB_LINK}
- ${CC} ${LDFLAGS} -shared -Wl,-x \
+ ${CC} ${CFLAGS} ${LDFLAGS} -shared -Wl,-x \
-o $@ -Wl,-soname,${SONAME} \
${SOBJS} ${LDADD}