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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to