]> git.draconx.ca Git - upkg.git/blobdiff - src/Makefile.am
uobject: Don't expose symbols that don't start with uobject.
[upkg.git] / src / Makefile.am
index 237e2c12364888e67cefa4ef2302e6b68c72eda5..1082de3abfceaff176098625b355f0414c686adc 100644 (file)
@@ -9,6 +9,7 @@ include engine/Makefile.inc
 libuobject_la_SOURCES  = uobject.c module.c avl.c loadable.c exportable.c
 libuobject_la_CPPFLAGS = $(GLIB_CFLAGS) $(LTDLINCL)
 libuobject_la_LIBADD   = $(LIBLTDL) $(GLIB_LIBS)
+libuobject_la_LDFLAGS  = -export-symbols-regex '^uobject_'
 
 libupkg_la_SOURCES = libupkg.c pack.c