Module Name: src
Committed By: christos
Date: Wed Jun 3 02:07:53 UTC 2020
Modified Files:
src/external/mpl/bind/lib/libisc: Makefile
Log Message:
Fix the vax build: vax is special and always builds pic code.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/mpl/bind/lib/libisc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mpl/bind/lib/libisc/Makefile
diff -u src/external/mpl/bind/lib/libisc/Makefile:1.12 src/external/mpl/bind/lib/libisc/Makefile:1.13
--- src/external/mpl/bind/lib/libisc/Makefile:1.12 Sat May 30 16:47:59 2020
+++ src/external/mpl/bind/lib/libisc/Makefile Tue Jun 2 22:07:52 2020
@@ -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 @@ SRCS+= ipv6.c
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