improve linux server compatibility
This commit is contained in:
parent
1224213cab
commit
a5f42ce40a
@ -34,6 +34,15 @@ touch server_distribution/mods/mods_go_here
|
|||||||
|
|
||||||
mkdir server_distribution/linux
|
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 \
|
cp \
|
||||||
dist/starbound_server \
|
dist/starbound_server \
|
||||||
dist/btree_repacker \
|
dist/btree_repacker \
|
||||||
|
BIN
scripts/ci/linux/patchelf
Executable file
BIN
scripts/ci/linux/patchelf
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user