From f83bdef67a6ec1883a55c48f0013589a38e7788c Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 28 Jan 2012 21:34:22 +0000 Subject: [PATCH] Use -X so that the link-set symbols are not stripped. --- lib/libpam/modules/mod.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/libpam/modules/mod.mk b/lib/libpam/modules/mod.mk index ed6abc0a1fdf..163ec2bdfa58 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 ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION}