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.
This commit is contained in:
Ethan Lee 2024-02-04 19:15:25 -05:00 committed by Philip Rebohle
parent 05cb963e22
commit 30f2b2df31
1 changed files with 8 additions and 7 deletions

View File

@ -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"