diff options
author | Charadon <dev@iotib.net> | 2022-09-26 21:15:38 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-09-26 21:15:38 -0400 |
commit | 79bcce4e30c2f089bdbb348917afe835df274028 (patch) | |
tree | 734f9bb9867e59ac913866512897eadc69f80f21 | |
parent | 3fd16f38f66855f706e75776311dc2529c62e0f2 (diff) | |
download | Pong-C-79bcce4e30c2f089bdbb348917afe835df274028.tar.gz |
distribute.sh: Fixed portability issues on unix
-rwxr-xr-x | distribute.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/distribute.sh b/distribute.sh index 8e41751..55f684c 100755 --- a/distribute.sh +++ b/distribute.sh @@ -12,7 +12,7 @@ else fi set -u - +WINDOWS="false" case "$(uname -s)" in MINGW*) for i in $(ldd "$CONFIG_BUILD_DIR"/bin/Pong* | awk '/mingw*/ {print $3}'); @@ -46,6 +46,10 @@ then fi exit 0 else - rm libs/libGL* # Remove OpenGL as it conflicts with graphics drivers. - bsdtar --options xz:compression-force=9 -caf ../Pong_"$(uname -s)-$(uname -r)-$(uname -m)".txz -- * + # Remove GL drivers, as they almost always conflict with system driver. + rm libs/libGL* + rm libs/libdrm* + # Remove libstdc++ + rm libs/libstdc++* + bsdtar --options xz:compression-level=9 -caf ../Pong_"$(uname -s)-$(uname -r)-$(uname -m)".txz -- * fi |