]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Tell gcc about lxcmntent for the unmount hook
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 11 Oct 2015 22:44:38 +0000 (15:44 -0700)
committerStéphane Graber <stgraber@ubuntu.com>
Sun, 11 Oct 2015 22:44:38 +0000 (15:44 -0700)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
hooks/Makefile.am

index ef82083c5a02be1d5ff8f50d13bf1bcb67214153..499a2c4cf9f40420a54e20fe6b8c2ecddab4924d 100644 (file)
@@ -12,4 +12,9 @@ hooks_PROGRAMS = \
 unmount_namespace_SOURCES = \
        unmount-namespace.c
 
+if IS_BIONIC
+unmount_namespace_SOURCES += \
+       ../src/include/lxcmntent.c ../src/include/lxcmntent.h
+endif
+
 EXTRA_DIST=$(hooks_SCRIPTS)