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 ''
|
postPatch = optionalString enablePython ''
|
||||||
sed -i -e 's|\$(LIBDIR)/libsepol.a|${libsepol}/lib/libsepol.a|' src/Makefile
|
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 = ''
|
preBuild = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user