aboutsummaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-08-02 22:31:52 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-08-02 22:31:52 +0000
commit670173822bc82e9a1b6f6ffbf89d1976c9c58b87 (patch)
tree01636a13404dad4fef3a3f7134df63dfe326b8e6 /share/mk
parent1a72d1f5bfb53ef343b2e7f91e3c8ce102fb5fc0 (diff)
downloadsrc-670173822bc82e9a1b6f6ffbf89d1976c9c58b87.tar.gz
src-670173822bc82e9a1b6f6ffbf89d1976c9c58b87.zip
Notes
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.lib.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 85c307ce00fe..bac67dd1229f 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
-# $Id: bsd.lib.mk,v 1.23 1995/02/25 20:51:12 phk Exp $
+# $Id: bsd.lib.mk,v 1.24 1995/03/28 17:54:11 nate Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@@ -199,7 +199,7 @@ lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: ${SOBJS}
@rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
@${LD} -Bshareable \
-o lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- ${SOBJS} ${LDDESTDIR} ${LDADD}
+ `lorder ${SOBJS} | tsort` ${LDDESTDIR} ${LDADD}
lib${LIB}_pic.a:: ${SOBJS}
@${ECHO} building special pic ${LIB} library