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) Linux)
FLAGS=""; FLAGS="";
[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux"; [ -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; echo $FLAGS;
;; ;;
esac esac