[ostree] lib: Use -export-symbol-regex



commit 6fc94838872cde82ccec80c95612f5162f672824
Author: Colin Walters <walters verbum org>
Date:   Thu Jul 25 17:09:00 2013 -0400

    lib: Use -export-symbol-regex
    
    Just a small step towards being a better library.

 Makefile-libostree.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 884d05c..28e5fec 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -51,7 +51,7 @@ libostree_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
 endif
 
 libostree_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/src/libgsystem -I$(srcdir)/src/libotutil 
-I$(srcdir)/src/libostree -DLOCALEDIR=\"$(datadir)/locale\" $(OT_INTERNAL_GIO_UNIX_CFLAGS)
-libostree_la_LDFLAGS = -avoid-version -Bsymbolic-functions
+libostree_la_LDFLAGS = -avoid-version -Bsymbolic-functions -export-symbols-regex '^ostree_'
 libostree_la_LIBADD = libotutil.la $(OT_INTERNAL_GIO_UNIX_LIBS)
 
 if USE_LIBARCHIVE


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]