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
1 changed files with 1 additions and 1 deletions

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