forked from mirrors/nixpkgs
libselinux: fix missing include after glibc-2.26
This commit is contained in:
parent
3562c2cfa7
commit
1ac1581253
|
@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = optionalString enablePython ''
|
||||
sed -i -e 's|\$(LIBDIR)/libsepol.a|${libsepol}/lib/libsepol.a|' src/Makefile
|
||||
''
|
||||
+ ''
|
||||
sed '1i#include <sys/uio.h>' -i src/setrans_client.c
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
|
Loading…
Reference in a new issue