[folks] Bug 637240 — libfolks-telepathy.so exports private symbols



commit bb992186c6fa65eac8608d1398edf8ae879c0c67
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Dec 17 11:16:04 2010 +0000

    Bug 637240 â?? libfolks-telepathy.so exports private symbols
    
    Limit the symbols exported by the libfolks-telepathy.so library to those
    starting with â??tpf_â??. Based on a patch by
    Emilio Pozuelo Monfort <pochu27 gmail com>. Closes: bgo#637240

 NEWS                               |    6 ++++++
 backends/telepathy/lib/Makefile.am |    4 +++-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index c597181..928860b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+Overview of changes from libfolks 0.3.3 to libfolks 0.3.4
+=========================================================
+
+Bugs fixed:
+* Bug 637240 â?? libfolks-telepathy.so exports private symbols
+
 Overview of changes from libfolks 0.3.2 to libfolks 0.3.3
 =========================================================
 
diff --git a/backends/telepathy/lib/Makefile.am b/backends/telepathy/lib/Makefile.am
index f48821e..9f86fb3 100644
--- a/backends/telepathy/lib/Makefile.am
+++ b/backends/telepathy/lib/Makefile.am
@@ -129,7 +129,9 @@ libfolks_telepathy_la_LIBADD = \
 # that vim quickfix mode (:make) doesn't interpret the libtool --mode=link
 # command as an error message in a bizarrely named file
 libfolks_telepathy_la_LDFLAGS = \
-	-version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)"
+	-version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)" \
+	-export-symbols-regex "^tpf_.*" \
+	$(NULL)
 
 folks_telepathy_includedir = $(includedir)/folks
 folks_telepathy_include_HEADERS = \



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