[lxc-devel] [lxcfs/master] Fix the installation directory for liblxcfs to ${libdir}/lxcfs
nagarathnam200 on Github
lxc-bot at linuxcontainers.org
Tue Sep 26 00:40:27 UTC 2017
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 3055 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170926/8a78279d/attachment.bin>
-------------- next part --------------
From 369154d6ee1b0b6e493ca601448775acbd85bb2b Mon Sep 17 00:00:00 2001
From: Nagarathnam Muthusamy <nagarathnam.muthusamy at oracle.com>
Date: Mon, 25 Sep 2017 17:32:09 -0700
Subject: [PATCH] Fix the installation directory for liblxcfs to
${libdir}/lxcfs
Signed-off-by: Nagarathnam Muthusamy <nagarathnam.muthusamy at oracle.com>
---
Makefile.am | 2 +-
configure.ac | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 3ad276d..a060953 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,7 +22,7 @@ liblxcfstest_la_LDFLAGS = $(AM_CFLAGS) -module -avoid-version -shared
noinst_HEADERS = bindings.h macro.h
sodir=$(libdir)
-lib_LTLIBRARIES = liblxcfs.la
+lxcfs_LTLIBRARIES = liblxcfs.la
EXTRA_LTLIBRARIES = liblxcfstest.la
lxcfs_SOURCES = lxcfs.c
diff --git a/configure.ac b/configure.ac
index 6c5c8be..94848f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,6 +151,7 @@ AM_CONDITIONAL([INIT_SCRIPT_UPSTART], [echo "$init_script" |grep -q "upstart"])
AC_MSG_RESULT($init_script)
+AC_SUBST([lxcfsdir], "${libdir}/lxcfs")
AC_ARG_WITH(
[pamdir],
[AS_HELP_STRING([--with-pamdir=PATH],[Specify the directory where PAM modules are stored,
More information about the lxc-devel
mailing list