[network-manager-libreswan/th/vpn-editor-split-bgo766623: 13/18] properties: add linker version script to libnm plugin



commit b65bd7b9e6c5562ebbc57e2fd88e2a11c79405a8
Author: Thomas Haller <thaller redhat com>
Date:   Tue May 10 14:17:04 2016 +0200

    properties: add linker version script to libnm plugin

 properties/Makefile.am                    |   11 ++++++++---
 properties/libnm-libreswan-properties.ver |    6 ++++++
 properties/libnm-vpn-plugin-libreswan.ver |    6 ++++++
 3 files changed, 20 insertions(+), 3 deletions(-)
---
diff --git a/properties/Makefile.am b/properties/Makefile.am
index bfdf75f..97b63e1 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -34,7 +34,8 @@ libnm_vpn_plugin_libreswan_la_LIBADD = \
     $(top_builddir)/shared/libnm-vpn-plugin-libreswan-shared.la
 
 libnm_vpn_plugin_libreswan_la_LDFLAGS = \
-        -avoid-version
+    -avoid-version \
+    -Wl,--version-script="$(srcdir)/libnm-vpn-plugin-libreswan.ver"
 
 ###############################################################################
 
@@ -55,7 +56,8 @@ libnm_libreswan_properties_la_LIBADD = \
     $(top_builddir)/shared/libnm-libreswan-shared.la
 
 libnm_libreswan_properties_la_LDFLAGS = \
-    $(libnm_vpn_plugin_libreswan_la_LDFLAGS)
+    -avoid-version \
+    -Wl,--version-script="$(srcdir)/libnm-libreswan-properties.ver"
 
 ###############################################################################
 
@@ -64,4 +66,7 @@ ui_DATA = nm-libreswan-dialog.ui
 
 CLEANFILES = *.bak *~
 
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = \
+    $(ui_DATA) \
+    libnm-libreswan-properties.ver \
+    libnm-vpn-plugin-libreswan.ver
diff --git a/properties/libnm-libreswan-properties.ver b/properties/libnm-libreswan-properties.ver
new file mode 100644
index 0000000..271c506
--- /dev/null
+++ b/properties/libnm-libreswan-properties.ver
@@ -0,0 +1,6 @@
+{
+global:
+       nm_vpn_plugin_ui_factory;
+local:
+       *;
+};
diff --git a/properties/libnm-vpn-plugin-libreswan.ver b/properties/libnm-vpn-plugin-libreswan.ver
new file mode 100644
index 0000000..92a7b14
--- /dev/null
+++ b/properties/libnm-vpn-plugin-libreswan.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]