mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-25 17:18:09 +00:00
Fix compilation with systemd>=230 and for older systemd versions without compat-libs
This commit is contained in:
parent
482d005d11
commit
7b1df75e3a
@ -20,6 +20,7 @@ link)
|
|||||||
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 $(pkg-config --libs libsystemd-daemon)";
|
[ -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;
|
echo $FLAGS;
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user