[network-manager-openswan/dcbw/libreswan: 11/11] core: symlink helper to nm-libreswan-service-helper
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openswan/dcbw/libreswan: 11/11] core: symlink helper to nm-libreswan-service-helper
- Date: Fri, 12 Dec 2014 19:19:29 +0000 (UTC)
commit f31915b044a43255f7767be06ac48a6c60f3e9c0
Author: Dan Williams <dcbw redhat com>
Date: Mon Dec 1 19:01:02 2014 -0600
core: symlink helper to nm-libreswan-service-helper
libreswan explicitly calls the helper, and expects a specific name
which we must provide.
configure.ac | 1 +
src/Makefile.am | 7 +++++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e3098db..8b2c2a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,7 @@ AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_LIBTOOL
+AC_PROG_LN_S
dnl
dnl Required headers
diff --git a/src/Makefile.am b/src/Makefile.am
index 46f6288..09223f5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,6 +35,13 @@ nm_openswan_service_helper_LDADD = \
$(NM_LIBS) \
$(LIBNL_LIBS)
+install-exec-hook:
+ $(LN_S) -f $(DESTDIR)$(libexecdir)/nm-openswan-service-helper \
+ $(DESTDIR)$(libexecdir)/nm-libreswan-service-helper
+
+uninstall-hook:
+ rm -f $(DESTDIR)$(libexecdir)/nm-libreswan-service-helper
+
noinst_PROGRAMS = show-xfrm
show_xfrm_SOURCES = show-xfrm.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]