Commit aa8b31f6 by Jiri Slaby Committed by Daniel Lezcano

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: 's avatarJiri Slaby <jslaby@suse.cz> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 90e0a869
INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"@LXCPATH@\"" \ INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"@LXCPATH@\"" \
-DLXCBINDIR="\"$(bindir)\"" \ -DLXCBINDIR="\"$(bindir)\"" \
-DLXCLIBEXECDIR="\"$(libexecdir)\"" -DLXCLIBEXECDIR="\"$(libexecdir)\""
AM_LDFLAGS= -lutil
lib_LTLIBRARIES = liblxc.la lib_LTLIBRARIES = liblxc.la
pkginclude_HEADERS = \ pkginclude_HEADERS = \
start.h \ start.h \
...@@ -52,6 +51,7 @@ liblxc_la_SOURCES = \ ...@@ -52,6 +51,7 @@ liblxc_la_SOURCES = \
cr_plugin_columbia.c lxc_plugin.h cr_plugin_columbia.c lxc_plugin.h
liblxc_la_LDFLAGS = -release @PACKAGE_VERSION@ liblxc_la_LDFLAGS = -release @PACKAGE_VERSION@
liblxc_la_LIBADD = -lutil
bin_SCRIPTS = \ bin_SCRIPTS = \
lxc-ps \ lxc-ps \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment