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:
parent
e9a80ed6d8
commit
1c706be073
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user