Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clang

properly exports its symbols to the modules.

Submitted by:	dim
This commit is contained in:
Shteryana Shopova 2010-12-16 15:18:53 +00:00
parent e9a80ed6d8
commit 1c706be073
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216485

View File

@ -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