[network-manager-openconnect: 10/15] properties: add linker version script to libnm plugin



commit 1327d89c9b1c30a35fd4991c7143d6ec8e3072c2
Author: Thomas Haller <thaller redhat com>
Date:   Tue Jun 14 23:33:47 2016 +0200

    properties: add linker version script to libnm plugin

 properties/Makefile.am                      |   13 +++++++++----
 properties/libnm-openconnect-properties.ver |    6 ++++++
 properties/libnm-vpn-plugin-openconnect.ver |    6 ++++++
 3 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/properties/Makefile.am b/properties/Makefile.am
index a7b2d8e..1d70913 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -39,7 +39,8 @@ libnm_vpn_plugin_openconnect_la_LIBADD = \
        $(OPENCONNECT_LIBS)
 
 libnm_vpn_plugin_openconnect_la_LDFLAGS = \
-       -avoid-version
+       -avoid-version \
+       -Wl,--version-script="$(srcdir)/libnm-vpn-plugin-openconnect.ver"
 
 ###############################################################################
 
@@ -58,11 +59,15 @@ libnm_openconnect_properties_la_LIBADD = \
        $(OPENCONNECT_LIBS)
 
 libnm_openconnect_properties_la_LDFLAGS = \
-       -avoid-version
+       -avoid-version \
+       -Wl,--version-script="$(srcdir)/libnm-openconnect-properties.ver"
 
 ###############################################################################
 
 CLEANFILES = *.bak *~
 
-EXTRA_DIST =                            \
-       $(ui_DATA)
+EXTRA_DIST = \
+       $(ui_DATA) \
+       libnm-openconnect-properties.ver \
+       libnm-vpn-plugin-openconnect.ver \
+       $(NULL)
diff --git a/properties/libnm-openconnect-properties.ver b/properties/libnm-openconnect-properties.ver
new file mode 100644
index 0000000..271c506
--- /dev/null
+++ b/properties/libnm-openconnect-properties.ver
@@ -0,0 +1,6 @@
+{
+global:
+       nm_vpn_plugin_ui_factory;
+local:
+       *;
+};
diff --git a/properties/libnm-vpn-plugin-openconnect.ver b/properties/libnm-vpn-plugin-openconnect.ver
new file mode 100644
index 0000000..92a7b14
--- /dev/null
+++ b/properties/libnm-vpn-plugin-openconnect.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]