1 Disable selinux and systemd support since they check for host headers.
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5 diff -Nura iodine-0.7.0.orig/src/osflags iodine-0.7.0/src/osflags
6 --- iodine-0.7.0.orig/src/osflags 2015-02-20 14:59:00.799958145 -0300
7 +++ iodine-0.7.0/src/osflags 2015-02-20 15:05:54.791135141 -0300
12 - [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
13 - [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
14 + #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
15 + #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
23 - [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
24 - [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
25 + #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
26 + #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";