Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk redo the previous; allow SHLIB_LDSTARTFILE and SHLI...
details: https://anonhg.NetBSD.org/src/rev/563ef3b725e6
branches: trunk
changeset: 510898:563ef3b725e6
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Jun 08 11:41:59 2001 +0000
description:
redo the previous; allow SHLIB_LDSTARTFILE and SHLIB_LDENDFILE to be overridden.
diffstat:
share/mk/bsd.lib.mk | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r d849393ddf1f -r 563ef3b725e6 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk Fri Jun 08 09:51:40 2001 +0000
+++ b/share/mk/bsd.lib.mk Fri Jun 08 11:41:59 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lib.mk,v 1.181 2001/06/07 15:28:55 mrg Exp $
+# $NetBSD: bsd.lib.mk,v 1.182 2001/06/08 11:41:59 mrg Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.if !target(__initialized__)
@@ -146,10 +146,10 @@
# Platform-independent linker flags for ELF shared libraries
.if ${OBJECT_FMT} == "ELF"
-SHLIB_SOVERSION=${SHLIB_MAJOR}
-SHLIB_SHFLAGS=-soname lib${LIB}.so.${SHLIB_SOVERSION}
-SHLIB_LDSTARTFILE= ${DESTDIR}${LIBDIR}/crtbeginS.o
-SHLIB_LDENDFILE= ${DESTDIR}${LIBDIR}/crtendS.o
+SHLIB_SOVERSION= ${SHLIB_MAJOR}
+SHLIB_SHFLAGS= -soname lib${LIB}.so.${SHLIB_SOVERSION}
+SHLIB_LDSTARTFILE?= ${DESTDIR}/usr/lib/crtbeginS.o
+SHLIB_LDENDFILE?= ${DESTDIR}/usr/lib/crtendS.o
.endif
CFLAGS+= ${COPTS}
Home |
Main Index |
Thread Index |
Old Index