[network-manager-pptp/th/vpn-editor-split-bgo766623: 16/21] properties: add linker version script to libnm plugin
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-pptp/th/vpn-editor-split-bgo766623: 16/21] properties: add linker version script to libnm plugin
- Date: Wed, 18 May 2016 19:05:28 +0000 (UTC)
commit 75b67798c15087805c398fe3f4d713d6b86d1f8f
Author: Thomas Haller <thaller redhat com>
Date: Wed May 18 18:53:08 2016 +0200
properties: add linker version script to libnm plugin
properties/Makefile.am | 10 +++++++---
properties/libnm-pptp-properties.ver | 6 ++++++
properties/libnm-vpn-plugin-pptp.ver | 6 ++++++
3 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/properties/Makefile.am b/properties/Makefile.am
index da16f8f..e610d6b 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -42,7 +42,8 @@ libnm_vpn_plugin_pptp_la_LIBADD = \
$(LIBNM_LIBS)
libnm_vpn_plugin_pptp_la_LDFLAGS = \
- -avoid-version
+ -avoid-version \
+ -Wl,--version-script="$(srcdir)/libnm-vpn-plugin-pptp.ver"
###############################################################################
@@ -62,11 +63,14 @@ libnm_pptp_properties_la_LIBADD = \
$(LIBNM_GTK_LIBS)
libnm_pptp_properties_la_LDFLAGS = \
- -avoid-version
+ -avoid-version \
+ -Wl,--version-script="$(srcdir)/libnm-pptp-properties.ver"
###############################################################################
CLEANFILES = *.bak *~
EXTRA_DIST = \
- $(ui_DATA)
+ $(ui_DATA) \
+ libnm-pptp-properties.ver \
+ libnm-vpn-plugin-pptp.ver
diff --git a/properties/libnm-pptp-properties.ver b/properties/libnm-pptp-properties.ver
new file mode 100644
index 0000000..271c506
--- /dev/null
+++ b/properties/libnm-pptp-properties.ver
@@ -0,0 +1,6 @@
+{
+global:
+ nm_vpn_plugin_ui_factory;
+local:
+ *;
+};
diff --git a/properties/libnm-vpn-plugin-pptp.ver b/properties/libnm-vpn-plugin-pptp.ver
new file mode 100644
index 0000000..92a7b14
--- /dev/null
+++ b/properties/libnm-vpn-plugin-pptp.ver
@@ -0,0 +1,6 @@
+{
+global:
+ nm_vpn_editor_plugin_factory;
+local:
+ *;
+};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]