1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-21 20:46:06 +03:00

Merge pull request #9 from zx2c4/master

osflags: use pkg-config for systemd support
This commit is contained in:
Erik Ekman 2014-07-25 08:26:00 +02:00
commit cea498e710

View File

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