[discident-glib] Only export a few symbols externally



commit a92c8c1fe4d99d5ef6a32598acdc3c81c631a478
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 18 18:07:17 2010 +0000

    Only export a few symbols externally

 discident-glib/Makefile.am            |    8 +++-----
 discident-glib/discident-glib.symbols |    8 ++++++++
 2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/discident-glib/Makefile.am b/discident-glib/Makefile.am
index 4791b3d..76bdb64 100644
--- a/discident-glib/Makefile.am
+++ b/discident-glib/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/Makefile.decl
 
-EXTRA_DIST =
+EXTRA_DIST = discident-glib.symbols
 BUILT_GIRSOURCES =
 
 lib_LTLIBRARIES = libdiscident-glib.la
@@ -14,10 +14,8 @@ libdiscident_glib_la_LIBADD = $(DISCIDENT_LIBS)
 libdiscident_glib_la_LDFLAGS =				\
 	-version-info $(DIGLIB_LT_VERSION)		\
 	-no-undefined					\
-	$(AM_LDFLAGS)
-#	$(AM_LDFLAGS)					\
-#	-export-symbols $(srcdir)/discident-glib.symbols
-#	FIXME
+	$(AM_LDFLAGS)					\
+	-export-symbols $(srcdir)/discident-glib.symbols
 
 diglibdir = $(pkgincludedir)
 diglib_HEADERS = discident-glib.h
diff --git a/discident-glib/discident-glib.symbols b/discident-glib/discident-glib.symbols
new file mode 100644
index 0000000..7a1ebe2
--- /dev/null
+++ b/discident-glib/discident-glib.symbols
@@ -0,0 +1,8 @@
+discident_get_gtin_file
+discident_get_gtin_file_async
+discident_get_gtin_file_finish
+discident_get_title
+discident_get_title_file_async
+discident_get_title_file_finish
+generate_hash
+discident_get_title_for_gtin



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