Merge pull request #19 from hardfalcon/master

Fix compilation with systemd>=230 and systemd versions without compat-libs
This commit is contained in:
Erik Ekman 2016-05-02 17:51:02 +02:00
commit 36df8dc16b
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ link)
FLAGS="";
[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS $(pkg-config --libs libsystemd-daemon)";
[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS $(pkg-config --libs libsystemd)";
echo $FLAGS;
;;
esac