Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/heimdal Quick makefile bits that will us...



details:   https://anonhg.NetBSD.org/src/rev/4d46c9f526c8
branches:  trunk
changeset: 764289:4d46c9f526c8
user:      elric <elric%NetBSD.org@localhost>
date:      Fri Apr 15 12:16:31 2011 +0000

description:
Quick makefile bits that will use a version-script.map file if it exists
when building libraries.

diffstat:

 crypto/external/bsd/heimdal/Makefile.rules.inc |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r acd3b0071d80 -r 4d46c9f526c8 crypto/external/bsd/heimdal/Makefile.rules.inc
--- a/crypto/external/bsd/heimdal/Makefile.rules.inc    Fri Apr 15 08:47:02 2011 +0000
+++ b/crypto/external/bsd/heimdal/Makefile.rules.inc    Fri Apr 15 12:16:31 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rules.inc,v 1.1 2011/04/13 19:16:44 elric Exp $
+# $NetBSD: Makefile.rules.inc,v 1.2 2011/04/15 12:16:31 elric Exp $
 
 SRCS+= ${HEIMSRCS:N*.et:N*.in:N*.asn1}
 
@@ -90,3 +90,9 @@
 .if defined(PROG) && defined(OBJS)
 OBJS.${PROG} += ${OBJS}
 .endif
+
+.if defined(LIB) && exists(version-script.map)
+version-script.map:
+
+LDFLAGS.lib${LIB} += -Wl,--version-script=${version-script.map:P}
+.endif



Home | Main Index | Thread Index | Old Index