[caribou] build: only export public symbols from the library
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou] build: only export public symbols from the library
- Date: Sun, 30 Dec 2012 05:27:06 +0000 (UTC)
commit a6a4392594379f7fb3f35bc0982a03f6afec771e
Author: Daiki Ueno <ueno unixuser org>
Date: Wed Oct 31 12:33:13 2012 +0900
build: only export public symbols from the library
https://bugzilla.gnome.org/show_bug.cgi?id=687315
libcaribou/Makefile.am | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/libcaribou/Makefile.am b/libcaribou/Makefile.am
index f6d9ce0..c837484 100644
--- a/libcaribou/Makefile.am
+++ b/libcaribou/Makefile.am
@@ -13,11 +13,16 @@ libcaribou_la_VALAFLAGS = \
--pkg libxklavier --pkg external-libs --pkg gdk-x11-3.0 --pkg libxml-2.0 \
--internal-vapi caribou-internals-1.0.vapi \
--library caribou-1.0 --gir _Caribou-1.0.gir \
+ --symbols libcaribou.symbols \
$(VALAFLAGS)
libcaribou_la_CPPFLAGS = \
$(INCLUDES)
+libcaribou_la_LDFLAGS = \
+ -export-dynamic \
+ -export-symbols $(srcdir)/libcaribou.symbols
+
libcaribouincludedir = $(includedir)/libcaribou
caribou_headers = \
@@ -47,7 +52,8 @@ libcaribou_la_SOURCES = \
EXTRA_DIST = \
external-libs.vapi \
- libxklavier.vapi
+ libxklavier.vapi \
+ libcaribou.symbols
#
# Introspection support
@@ -74,3 +80,5 @@ CLEANFILES = \
Caribou-1.0.gir \
_Caribou-1.0.gir \
*.[ch]
+
+MAINTAINERCLEANFILES = libcaribou.symbols
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]