summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd
diff options
context:
space:
mode:
authorsyrinx <syrinx@FreeBSD.org>2010-12-16 15:18:53 +0000
committersyrinx <syrinx@FreeBSD.org>2010-12-16 15:18:53 +0000
commitceef911397bcc9952664e55dc7e739b136229122 (patch)
treebb1bf54822cad9b5682995cb837286f19d6bc941 /usr.sbin/bsnmpd
parent0e065af40bdbd506a09f98c2e7c58c26db55608f (diff)
downloadFreeBSD-src-ceef911397bcc9952664e55dc7e739b136229122.zip
FreeBSD-src-ceef911397bcc9952664e55dc7e739b136229122.tar.gz
Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clang
properly exports its symbols to the modules. Submitted by: dim
Diffstat (limited to 'usr.sbin/bsnmpd')
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile
index f7e9b23..80b14e2 100644
--- a/usr.sbin/bsnmpd/bsnmpd/Makefile
+++ b/usr.sbin/bsnmpd/bsnmpd/Makefile
@@ -31,7 +31,7 @@ CFLAGS+= -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY
DPADD= ${LIBBEGEMOT} ${LIBBSNMP} ${LIBWRAP}
LDADD= -lbegemot -lbsnmp -lwrap
-LDFLAGS= -export-dynamic
+LDFLAGS= -Wl,-export-dynamic
.if ${MK_OPENSSL} != "no"
CFLAGS+= -DHAVE_LIBCRYPTO
OpenPOWER on IntegriCloud