Makefile: correctly add ifaddrs to noinst_HEADERS

Before this we only added ifaddrs.h to noinst_HEADERS when we were running on Android's bionic. That obviously doesn't make sense since it is possible that ifaddrs.h is not defined and we're also not running on Android's bionic. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent ba2b6354
...@@ -40,9 +40,12 @@ noinst_HEADERS = attach.h \ ...@@ -40,9 +40,12 @@ noinst_HEADERS = attach.h \
tools/arguments.h \ tools/arguments.h \
utils.h utils.h
if !HAVE_IFADDRS_H
noinst_HEADERS += ../include/ifaddrs.h
endif
if IS_BIONIC if IS_BIONIC
noinst_HEADERS += ../include/ifaddrs.h \ noinst_HEADERS += ../include/lxcmntent.h \
../include/lxcmntent.h \
../include/openpty.h ../include/openpty.h
endif endif
......
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