From aa8b31f68fa99426251ffd78d47973e7ab512bcb Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Tue, 18 Aug 2009 23:28:42 +0200 Subject: [PATCH] lxc build fix for Suse Hi, I have to use the attached patch to allow lxc building in the SUSE build system. It uses as-needed flag and build thus fails, since -lutil is not at the appropriate place on the command line. js suse labs Signed-off-by: Jiri Slaby Signed-off-by: Daniel Lezcano --- src/lxc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index 788becf7b..d63eb4f66 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -1,7 +1,6 @@ INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"@LXCPATH@\"" \ -DLXCBINDIR="\"$(bindir)\"" \ -DLXCLIBEXECDIR="\"$(libexecdir)\"" -AM_LDFLAGS= -lutil lib_LTLIBRARIES = liblxc.la pkginclude_HEADERS = \ start.h \ @@ -52,6 +51,7 @@ liblxc_la_SOURCES = \ cr_plugin_columbia.c lxc_plugin.h liblxc_la_LDFLAGS = -release @PACKAGE_VERSION@ +liblxc_la_LIBADD = -lutil bin_SCRIPTS = \ lxc-ps \