Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/file Link libz after libmagic otherwise it fails on ...



details:   https://anonhg.NetBSD.org/src/rev/8e7793fd1dee
branches:  trunk
changeset: 545616:8e7793fd1dee
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Apr 12 02:15:22 2003 +0000

description:
Link libz after libmagic otherwise it fails on NOPIC ports.

diffstat:

 usr.bin/file/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4dd19be0d85b -r 8e7793fd1dee usr.bin/file/Makefile
--- a/usr.bin/file/Makefile     Sat Apr 12 01:08:28 2003 +0000
+++ b/usr.bin/file/Makefile     Sat Apr 12 02:15:22 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.43 2003/04/05 12:30:51 pooka Exp $
+#      $NetBSD: Makefile,v 1.44 2003/04/12 02:15:22 tsutsui Exp $
 
 .include <bsd.own.mk>
 
@@ -21,7 +21,7 @@
 CPPFLAGS+=     -DMAGIC='"${MAGIC}"' -DHAVE_CONFIG_H -DQUICK -DBUILTIN_ELF \
                -DELFCORE
 CPPFLAGS+=     -I${.CURDIR}/../../lib/libmagic -I${DIST}
-LDADD+=                -lz -lmagic
+LDADD+=                -lmagic -lz
 MAN=           file.1 magic.5
 
 CLEANFILES+=   magic magic.mgc magic.mime.mgc



Home | Main Index | Thread Index | Old Index