[network-manager-openswan/dcbw/libreswan: 12/12] core: symlink helper to nm-libreswan-service-helper



commit 45c646af3361958c84871e4b62ee9966e7cb3d71
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 |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index aac837b..1c8de90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,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..f9037fe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,6 +35,10 @@ 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
+
 noinst_PROGRAMS = show-xfrm
 
 show_xfrm_SOURCES = show-xfrm.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]