[libnotify] Don't export private symbols in the shared library



commit 9d5e8582b38fd95e8aa32b427504ca9fefcb6a3c
Author: Emilio Pozuelo Monfort <pochu27 gmail com>
Date:   Sun Nov 28 00:15:28 2010 +0100

    Don't export private symbols in the shared library
    
    https://bugzilla.gnome.org/show_bug.cgi?id=635958

 libnotify/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libnotify/Makefile.am b/libnotify/Makefile.am
index b314b90..59c48b1 100644
--- a/libnotify/Makefile.am
+++ b/libnotify/Makefile.am
@@ -42,7 +42,8 @@ libnotify_la_LIBADD = \
 	$(PACKAGE_LIBS)
 
 libnotify_la_LDFLAGS = \
-	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+	-export-symbols-regex "^notify_.*"
 
 notify-marshal.h: notify-marshal.list
 	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=$(MARSHAL_PREFIX) notify-marshal.list \



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