diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-07-30 12:13:43 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-07-30 12:13:43 +1000 |
commit | a5f42ce40a848e3ef66dd6b0bda0fd94954fb6bb (patch) | |
tree | bfec10dba46033ebd3b67849d6bf55d4fb665135 /scripts | |
parent | 1224213cab2594eb9b18f97c238af148d662063d (diff) |
improve linux server compatibility
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci/linux/assemble.sh | 9 | ||||
-rwxr-xr-x | scripts/ci/linux/patchelf | bin | 0 -> 3723608 bytes |
2 files changed, 9 insertions, 0 deletions
diff --git a/scripts/ci/linux/assemble.sh b/scripts/ci/linux/assemble.sh index 241175d..1b4970a 100755 --- a/scripts/ci/linux/assemble.sh +++ b/scripts/ci/linux/assemble.sh @@ -34,6 +34,15 @@ touch server_distribution/mods/mods_go_here mkdir server_distribution/linux +# makes the server function on older Linux versions (this is so stupid) +nm --dynamic --undefined-only --with-symbol-versions dist/starbound_server | grep GLIBC_2.29 +./scripts/ci/linux/patchelf dist/starbound_server \ + --clear-symbol-version exp \ + --clear-symbol-version exp2 \ + --clear-symbol-version log \ + --clear-symbol-version log2 \ + --clear-symbol-version pow + cp \ dist/starbound_server \ dist/btree_repacker \ diff --git a/scripts/ci/linux/patchelf b/scripts/ci/linux/patchelf Binary files differnew file mode 100755 index 0000000..6f0ba61 --- /dev/null +++ b/scripts/ci/linux/patchelf |