[tracker] Use -export-symbols-regex
- From: Michael Biebl <mbiebl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Use -export-symbols-regex
- Date: Thu, 11 Feb 2010 15:06:00 +0000 (UTC)
commit 18e3d5c27faff36d78152f03986b1838c0d18d63
Author: Michael Biebl <biebl debian org>
Date: Thu Feb 11 16:03:52 2010 +0100
Use -export-symbols-regex
Use -export-symbols-regex to restrict the list of exported symbols to
'^tracker_.*'. For libtracker-miner we will have to fine tune the regex
even further.
src/libtracker-client/Makefile.am | 3 ++-
src/libtracker-extract/Makefile.am | 3 ++-
src/libtracker-miner/Makefile.am | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-client/Makefile.am b/src/libtracker-client/Makefile.am
index a0d4790..7af28f6 100644
--- a/src/libtracker-client/Makefile.am
+++ b/src/libtracker-client/Makefile.am
@@ -16,7 +16,8 @@ libtracker_clientincdir = $(includedir)/tracker-$(TRACKER_API_VERSION)/libtracke
libtracker_client_ TRACKER_API_VERSION@_la_SOURCES = tracker.c
libtracker_client_ TRACKER_API_VERSION@_la_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -export-symbols-regex '^tracker_.*'
libtracker_client_ TRACKER_API_VERSION@_la_LIBADD = \
$(GLIB2_LIBS) \
diff --git a/src/libtracker-extract/Makefile.am b/src/libtracker-extract/Makefile.am
index 2ddde75..9dbc765 100644
--- a/src/libtracker-extract/Makefile.am
+++ b/src/libtracker-extract/Makefile.am
@@ -36,7 +36,8 @@ libtracker_extractinc_HEADERS = \
tracker-xmp.h
libtracker_extract_ TRACKER_API_VERSION@_la_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -export-symbols-regex '^tracker_.*'
libtracker_extract_ TRACKER_API_VERSION@_la_LIBADD = \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
diff --git a/src/libtracker-miner/Makefile.am b/src/libtracker-miner/Makefile.am
index 89502fa..04c05af 100644
--- a/src/libtracker-miner/Makefile.am
+++ b/src/libtracker-miner/Makefile.am
@@ -49,7 +49,8 @@ libtracker_minerinclude_HEADERS = \
tracker-thumbnailer.h
libtracker_miner_ TRACKER_API_VERSION@_la_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -export-symbols-regex '^tracker_.*'
libtracker_miner_ TRACKER_API_VERSION@_la_LIBADD = \
$(top_builddir)/src/libstemmer/libstemmer.la \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]