Fix building init.lxc.static under bionic

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Serge Hallyn 2014-06-02 22:04:26 -05:00 committed by Stéphane Graber
parent 07ffb1303e
commit 77ae87cdeb

View File

@ -234,6 +234,13 @@ lxc_usernsexec_SOURCES = lxc_usernsexec.c
lxc_user_nic_SOURCES = lxc_user_nic.c network.c network.h
init_lxc_static_SOURCES = lxc_init.c error.c log.c utils.c caps.c
if !HAVE_GETLINE
if HAVE_FGETLN
init_lxc_static_SOURCES += ../include/getline.c
endif
endif
init_lxc_static_LDFLAGS = -static
init_lxc_static_LDADD = @CAP_LIBS@