From 30f2b2df31f7ca43a8338465e25c63132a62f315 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Sun, 4 Feb 2024 19:15:25 -0500 Subject: [PATCH] package-native.sh should force libdisplay-info subproject This ensures that the script produces a build similar to the default steamrt build, even if libdisplay-info is available on the build system root. --- package-native.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/package-native.sh b/package-native.sh index 3ef659438..56915e632 100755 --- a/package-native.sh +++ b/package-native.sh @@ -56,13 +56,14 @@ function build_arch { opt_strip=--strip fi - CC="$CC -m$1" CXX="$CXX -m$1" meson setup \ - --buildtype "release" \ - --prefix "$DXVK_BUILD_DIR/usr" \ - $opt_strip \ - --bindir "$2" \ - --libdir "$2" \ - -Dbuild_id=$opt_buildid \ + CC="$CC -m$1" CXX="$CXX -m$1" meson setup \ + --buildtype "release" \ + --prefix "$DXVK_BUILD_DIR/usr" \ + $opt_strip \ + --bindir "$2" \ + --libdir "$2" \ + -Dbuild_id=$opt_buildid \ + --force-fallback-for=libdisplay-info \ "$DXVK_BUILD_DIR/build.$1" cd "$DXVK_BUILD_DIR/build.$1"