Commit 18e3d5c2 authored by Michael Biebl's avatar Michael Biebl

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.
parent 8f6ac810
......@@ -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) \
......
......@@ -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 \
......
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment