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



commit 2074171af9872cd496e9cc6f56c54c5e76aaf084
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]