summaryrefslogtreecommitdiff
path: root/repo/qemu/qemu.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/qemu/qemu.xibuild
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/qemu/qemu.xibuild')
-rw-r--r--repo/qemu/qemu.xibuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/repo/qemu/qemu.xibuild b/repo/qemu/qemu.xibuild
index 4660aaf..d859027 100644
--- a/repo/qemu/qemu.xibuild
+++ b/repo/qemu/qemu.xibuild
@@ -28,7 +28,7 @@ prepare () {
}
build() {
- mkdir -p "$BUILD_ROOT"/build
+ mkdir -p "$BUILD_ROOT"/build "$BUILD_ROOT"/build-static
cd "$BUILD_ROOT"/build
CFLAGS="$CFLAGS -O2" "$BUILD_ROOT"/configure \
--prefix=/usr \
@@ -53,8 +53,10 @@ build() {
--enable-sdl \
--enable-spice \
--enable-virglrenderer \
- --enable-gtk
- make ARFLAGS="rc"
+ --enable-gtk &&
+ make ARFLAGS="rc" || exit 1
+ cd ..
+
}
package() {