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



commit 9b51cb90d9ce763402a5d5cb05630980fa638545
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 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..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]