Source-Changes-HG archive

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

[src/trunk]: src/external/mpl/bind/lib/libisc Fix the vax build: vax is speci...



details:   https://anonhg.NetBSD.org/src/rev/beb6c4acda5f
branches:  trunk
changeset: 972678:beb6c4acda5f
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 03 02:07:52 2020 +0000

description:
Fix the vax build: vax is special and always builds pic code.

diffstat:

 external/mpl/bind/lib/libisc/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 3525869b6e21 -r beb6c4acda5f external/mpl/bind/lib/libisc/Makefile
--- a/external/mpl/bind/lib/libisc/Makefile     Wed Jun 03 00:27:46 2020 +0000
+++ b/external/mpl/bind/lib/libisc/Makefile     Wed Jun 03 02:07:52 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2020/05/30 20:47:59 christos Exp $
+#      $NetBSD: Makefile,v 1.13 2020/06/03 02:07:52 christos Exp $
 
 LIB=isc
 #USE_SHLIBDIR=   yes
@@ -54,8 +54,13 @@
 LDFLAGS+=-Wl,--version-script=${.CURDIR}/isc.map
 LDADD+=-Wl,-Bstatic
 
+.if ${MKPICLIB} != "no"
 LDADD+=-L${LIBUVOBJDIR} -luv_pic
 DPADD+=${LIBUVOBJDIR}/libuv_pic.a
+.else
+LDADD+=-L${LIBUVOBJDIR} -luv
+DPADD+=${LIBUVOBJDIR}/libuv.a
+.endif
 
 LDADD+=-Wl,-Bdynamic
 



Home | Main Index | Thread Index | Old Index