svn commit: r216485 - head/usr.sbin/bsnmpd/bsnmpd

Shteryana Shopova syrinx at FreeBSD.org
Thu Dec 16 15:18:53 UTC 2010


Author: syrinx
Date: Thu Dec 16 15:18:53 2010
New Revision: 216485
URL: http://svn.freebsd.org/changeset/base/216485

Log:
  Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clang
  properly exports its symbols to the modules.
  
  Submitted by:	dim

Modified:
  head/usr.sbin/bsnmpd/bsnmpd/Makefile

Modified: head/usr.sbin/bsnmpd/bsnmpd/Makefile
==============================================================================
--- head/usr.sbin/bsnmpd/bsnmpd/Makefile	Thu Dec 16 14:57:06 2010	(r216484)
+++ head/usr.sbin/bsnmpd/bsnmpd/Makefile	Thu Dec 16 15:18:53 2010	(r216485)
@@ -31,7 +31,7 @@ CFLAGS+= -DHAVE_STDINT_H -DHAVE_INTTYPES
 DPADD=	${LIBBEGEMOT} ${LIBBSNMP} ${LIBWRAP}
 LDADD=	-lbegemot -lbsnmp -lwrap
 
-LDFLAGS= -export-dynamic
+LDFLAGS= -Wl,-export-dynamic
 
 .if ${MK_OPENSSL} != "no"
 CFLAGS+= -DHAVE_LIBCRYPTO


More information about the svn-src-head mailing list