diff options
Diffstat (limited to 'src/lib.mk')
-rw-r--r-- | src/lib.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,11 +30,15 @@ INCMODE?= 0444 all: ${_LIBS} + + lib${LIB}.a: ${OBJS} ${STATICOBJS} @${ECHO} building static library $@ ${AR} rc $@ $^ ${RANLIB} $@ +${SHLIB_NAME}: ${VERSION_MAP} +LDFLAGS+= -Wl,--version-script=${VERSION_MAP} ${SHLIB_NAME}: ${SOBJS} @${ECHO} building shared library $@ |