Attached patch stops private symbols from being exported in the library
(currently bus_from_str, bus_to_str, type_from_str)
Thanks,
--Robert Ancell
>From b4a7a3a434f1fa03a3f8a94c84f5b60d83980a1c Mon Sep 17 00:00:00 2001
From: Robert Ancell <robert.anc...@canonical.com>
Date: Tue, 10 Jan 2012 10:19:46 +0100
Subject: [PATCH] lib: Don't export private symbols
Signed-off-by: Robert Ancell <robert.anc...@canonical.com>
---
libwacom/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libwacom/Makefile.am b/libwacom/Makefile.am
index c09417a..57032db 100644
--- a/libwacom/Makefile.am
+++ b/libwacom/Makefile.am
@@ -9,6 +9,8 @@ libwacom_la_SOURCES = \
libwacom-error.c \
libwacom-database.c
+libwacom_la_LDFLAGS = -export-symbols-regex '^libwacom_'
+
libwacom_la_LIBADD = $(GLIB_LIBS)
libwacomincludedir = $(includedir)/libwacom-1.0/libwacom/
--
1.7.7.3
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel