Commit 69e77384 authored by Mark Andrews's avatar Mark Andrews

4514. [port] NetBSD: strip -WL, from ld command line. [RT #43204]

parent 472e99cf
4514. [port] NetBSD: strip -WL, from ld command line. [RT #43204]
4513. [cleanup] Minimum Python versions are now 2.7 and 3.2.
[RT #43566]
......
......@@ -34,6 +34,7 @@ OBJS = db.@O@ driver.@O@ instance.@O@ \
SO_TARGETS = lib/sample.@SO@
TARGETS = @SO_TARGETS@
SO_STRIP = @SO_STRIP@
@BIND9_MAKE_RULES@
......@@ -45,8 +46,9 @@ lib/sample.@SO@: sample.@SO@
${LIBTOOL_MODE_INSTALL} ${INSTALL} sample.@SO@ `pwd`/lib
sample.@SO@: ${OBJS} ${DNSDEPLIBS} ${ISCDEPLIBS}
CLEANED=`echo "${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}" | ${SO_STRIP}`; \
${LIBTOOL_MODE_LINK} @SO_LD@ ${SO_LDFLAGS} -o $@ ${OBJS} \
${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
$${CLEANED}
clean distclean::
rm -f ${OBJS} sample.so lib/sample.so
......@@ -654,6 +654,7 @@ DLZ_DRIVER_INCLUDES
CONTRIB_DLZ
PG_CONFIG
SO_TARGETS
SO_STRIP
SO_LD
SO_LDFLAGS
SO_CFLAGS
......@@ -22068,6 +22069,7 @@ SO_CFLAGS=""
SO_LDFLAGS=""
SO_LD=""
SO_TARGETS=""
SO_STRIP="cat"
# Check whether --with-dlopen was given.
......@@ -22179,6 +22181,7 @@ if test "yes" = "$dlopen"; then
SO_CFLAGS="-fpic"
SO_LDFLAGS="-Bshareable -x"
SO_LD="ld"
SO_STRIP="sed -e s/-Wl,//g"
;;
*-solaris*)
SO_CFLAGS="-KPIC"
......@@ -22226,6 +22229,7 @@ CFLAGS="$CFLAGS $SO_CFLAGS"
# Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and distribute this software for any
......
......@@ -4811,6 +4811,7 @@ SO_CFLAGS=""
SO_LDFLAGS=""
SO_LD=""
SO_TARGETS=""
SO_STRIP="cat"
AC_ARG_WITH(dlopen,
[ --with-dlopen=ARG support dynamically loadable DLZ drivers],
......@@ -4863,6 +4864,7 @@ if test "yes" = "$dlopen"; then
SO_CFLAGS="-fpic"
SO_LDFLAGS="-Bshareable -x"
SO_LD="ld"
SO_STRIP="sed -e s/-Wl,//g"
;;
*-solaris*)
SO_CFLAGS="-KPIC"
......@@ -4907,6 +4909,7 @@ AC_SUBST(SO)
AC_SUBST(SO_CFLAGS)
AC_SUBST(SO_LDFLAGS)
AC_SUBST(SO_LD)
AC_SUBST(SO_STRIP)
AC_SUBST(SO_TARGETS)
sinclude(contrib/dlz/config.dlz.in)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment