r4358 - trunk/src/target/opkg/libopkg

thomas at sita.openmoko.org thomas at sita.openmoko.org
Mon Apr 14 17:49:58 CEST 2008


Author: thomas
Date: 2008-04-14 17:49:57 +0200 (Mon, 14 Apr 2008)
New Revision: 4358

Modified:
   trunk/src/target/opkg/libopkg/Makefile.am
Log:
libopkg: stop exporting random symbols into the wild


Modified: trunk/src/target/opkg/libopkg/Makefile.am
===================================================================
--- trunk/src/target/opkg/libopkg/Makefile.am	2008-04-14 14:38:13 UTC (rev 4357)
+++ trunk/src/target/opkg/libopkg/Makefile.am	2008-04-14 15:49:57 UTC (rev 4358)
@@ -29,6 +29,9 @@
 
 libopkg_la_LIBADD = $(top_builddir)/libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS)
 
+# make sure we only export symbols that are for public use
+libopkg_la_LDFLAGS = -export-symbols-regex "^opkg_.*"
+
 opkg_core_sources = args.c args.h \
 		    user.c user.h 
 opkg_libcore_sources = args.c args.h libopkg.c libopkg.h\





More information about the commitlog mailing list