-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Francisco Dias
committed
May 21, 2024
1 parent
8fdd696
commit c2f58b0
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
source/Steamworks_gml/extensions/steamworks/steamworks_linux/slr_build_linux64.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/bin/bash | ||
# This script will run the original build script in a Steam Linux Runtime environment | ||
# You are free to change these: | ||
BUILD_DIR="$PWD" | ||
BUILD_DIR="$PWD/../../../../" | ||
STEAMRT_SDK_DIR="/opt/steam-runtime" | ||
# Do the magic | ||
echo Build dir: "$BUILD_DIR" | ||
echo SteamRT SDK dir: "$STEAMRT_SDK_DIR" | ||
echo Starting build... | ||
cd "$BUILD_DIR" | ||
unshare -mUprf sh -c 'mount -o bind "$1" "$2/tmp" && chroot "$2" sh -c "cd /tmp && chmod a+x -R . && export YYSTEAMRT=1 && ./build_linux64.sh"' -- "$BUILD_DIR" "$STEAMRT_SDK_DIR" | ||
unshare -mUprf sh -c 'mount -o bind "$1" "$2/tmp" && chroot "$2" sh -c "cd /tmp && chmod a+x -R . && export YYSTEAMRT=1 && Steamworks_gml/extensions/steamworks/steamworks_linux/build_linux64.sh"' -- "$BUILD_DIR" "$STEAMRT_SDK_DIR" | ||
|
||
echo Exit code is $? | ||
|