mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-21 22:41:26 +00:00
Merge pull request #9 from zx2c4/master
osflags: use pkg-config for systemd support
This commit is contained in:
commit
cea498e710
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue