diff options
-rwxr-xr-x | nyx_mode/build_nyx_support.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nyx_mode/build_nyx_support.sh b/nyx_mode/build_nyx_support.sh index c4a480e6..e7fca64f 100755 --- a/nyx_mode/build_nyx_support.sh +++ b/nyx_mode/build_nyx_support.sh @@ -61,8 +61,8 @@ fi echo "[*] Checking QEMU-Nyx ..." if [ ! -f "QEMU-Nyx/x86_64-softmmu/qemu-system-x86_64" ]; then - if ! [ "${IS_DOCKER}" = "" ]; then - echo "[-] Disabling GTK as we're building a container image." + if ! dpkg -s gtk3-devel > /dev/null 2>&1; then + echo "[-] Disabling GTK because gtk3-devel is not installed." sed -i 's/--enable-gtk//g' QEMU-Nyx/compile_qemu_nyx.sh fi (cd QEMU-Nyx && ./compile_qemu_nyx.sh static) |