diff options
| author | christos <christos@NetBSD.org> | 2012-01-28 21:34:22 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2012-01-28 21:34:22 +0000 |
| commit | 50cf68019848afff683bc9ed86b60265ea23bf6c (patch) | |
| tree | 006adafecbf2b34b084599bf7efd8b3dc86131b4 /lib/libpam/modules | |
| parent | 843e8a217e681e6358adff4d960ec96fb509f8de (diff) | |
Use -X so that the link-set symbols are not stripped.
Diffstat (limited to 'lib/libpam/modules')
| -rw-r--r-- | lib/libpam/modules/mod.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpam/modules/mod.mk b/lib/libpam/modules/mod.mk index ed6abc0a1fd..163ec2bdfa5 100644 --- a/lib/libpam/modules/mod.mk +++ b/lib/libpam/modules/mod.mk @@ -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} |
