Use -X so that the link-set symbols are not stripped.

This commit is contained in:
christos 2012-01-28 21:34:22 +00:00
parent c37ad7ee66
commit f83bdef67a
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mod.mk,v 1.9 2010/05/03 22:12:32 christos Exp $
# $NetBSD: mod.mk,v 1.10 2012/01/28 21:34:22 christos Exp $
NOLINT= # don't build a lint library
NOPROFILE= # don't build a profile library
@ -23,6 +23,9 @@ libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
libinstall::
.endif
# Don't use -x because strips link_set symbols (which are local)
OBJCOPYLIBFLAGS=-X
.include <bsd.lib.mk>
${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION}