Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/unzip Explicitly link against libpthread and liblzma...



details:   https://anonhg.NetBSD.org/src/rev/698291984885
branches:  trunk
changeset: 458055:698291984885
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jul 28 12:44:36 2019 +0000

description:
Explicitly link against libpthread and liblzma to make static linking
happy. Newer libarchive supports LZMA compression in zip files.

diffstat:

 usr.bin/unzip/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (20 lines):

diff -r 829c8b1312b4 -r 698291984885 usr.bin/unzip/Makefile
--- a/usr.bin/unzip/Makefile    Sun Jul 28 12:10:52 2019 +0000
+++ b/usr.bin/unzip/Makefile    Sun Jul 28 12:44:36 2019 +0000
@@ -1,13 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2017/05/21 15:28:43 riastradh Exp $
+# $NetBSD: Makefile,v 1.7 2019/07/28 12:44:36 joerg Exp $
 
 .include <bsd.own.mk>
 PROG=  unzip
 
-DPADD+=                ${LIBARCHIVE} ${LIBZ} ${LIBBZ2}
-LDADD+=                -larchive -lz -lbz2
-
-LDADD+=  -lcrypto
-DPADD+=  ${LIBCRYPTO}
+DPADD+=                ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} ${LIBLZMA} ${LIBCRYPTO} ${LIBPTHREAD}
+LDADD+=                -larchive -lz -lbz2 -llzma -lcrypto -lpthread
 
 COPTS.unzip.c += -Wno-format-y2k
 



Home | Main Index | Thread Index | Old Index