NetworkManager r3994 - in trunk: libnm-glib libnm-util
- From: mbiebl svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3994 - in trunk: libnm-glib libnm-util
- Date: Fri, 22 Aug 2008 11:32:25 +0000 (UTC)
Author: mbiebl
Date: Fri Aug 22 11:32:25 2008
New Revision: 3994
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3994&view=rev
Log:
symbol visibility
Use a ld version script for libnm-util, libnm_glib and libnm_glib_vpn to
control the list of exported symbols.
Modified:
trunk/libnm-glib/Makefile.am
trunk/libnm-util/Makefile.am
Modified: trunk/libnm-glib/Makefile.am
==============================================================================
--- trunk/libnm-glib/Makefile.am (original)
+++ trunk/libnm-glib/Makefile.am Fri Aug 22 11:32:25 2008
@@ -91,6 +91,8 @@
$(GCONF_LIBS) \
$(GNOME_KEYRING_LIBS)
+libnm_glib_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libnm_glib.ver
+
noinst_PROGRAMS = libnm-glib-test
libnm_glib_test_SOURCES = libnm-glib-test.c
@@ -101,6 +103,7 @@
libnm_glib_vpn_la_SOURCES = nm-vpn-plugin.c nm-vpn-plugin-ui-interface.c
libnm_glib_vpn_la_CFLAGS = $(GLIB_CFLAGS) $(DBUS_CFLAGS)
libnm_glib_vpn_la_LIBADD = $(top_builddir)/libnm-util/libnm-util.la $(GLIB_LIBS) $(DBUS_LIBS)
+libnm_glib_vpn_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libnm_glib_vpn.ver
nm-client-bindings.h: $(top_srcdir)/introspection/nm-manager-client.xml
@@ -153,7 +156,7 @@
DISTCLEANFILES = libnm_glib.pc libnm_glib.pc
-EXTRA_DIST = libnm_glib.pc.in libnm_glib_vpn.pc.in
+EXTRA_DIST = libnm_glib.pc.in libnm_glib_vpn.pc.in libnm_glib.ver libnm_glib_vpn.ver
CLEANFILES = \
$(BUILT_SOURCES)
Modified: trunk/libnm-util/Makefile.am
==============================================================================
--- trunk/libnm-util/Makefile.am (original)
+++ trunk/libnm-util/Makefile.am Fri Aug 22 11:32:25 2008
@@ -51,6 +51,8 @@
libnm_util_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS)
+libnm_util_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libnm-util.ver
+
if WITH_GNUTLS
libnm_util_la_SOURCES += crypto_gnutls.c
libnm_util_la_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(GNUTLS_CFLAGS)
@@ -76,6 +78,5 @@
DISTCLEANFILES = libnm-util.pc
-EXTRA_DIST = \
- libnm-util.pc.in
+EXTRA_DIST = libnm-util.pc.in libnm-util.ver
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]