qemu: fix include issues, closed FS#1001
This commit is contained in:
parent
4080ca9752
commit
29ef8fa0c0
@ -22,6 +22,11 @@ build() {
|
||||
--localstatedir=/var \
|
||||
--target-list=x86_64-linux-user,i386-linux-user,i386-softmmu,x86_64-softmmu
|
||||
|
||||
# fix include issues with libcap
|
||||
sed -i -e '/#include "qemu\/xattr.h"/d' \
|
||||
-e 's|#include <sys/resource.h>|#include <sys/resource.h>\r\n#include "qemu\/xattr.h"|g' \
|
||||
fsdev/virtfs-proxy-helper.c
|
||||
|
||||
# fix include issues with nspr
|
||||
echo 'QEMU_CFLAGS+=-I/usr/include/nspr' >> libcacard/Makefile
|
||||
make ${MAKEFLAGS:=}
|
||||
|
Loading…
x
Reference in New Issue
Block a user