summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-05 12:31:27 +0100
committerGitHub <noreply@github.com>2021-02-05 12:31:27 +0100
commit05df7996a4c8039db0785a7e22fe8db59bcc7513 (patch)
treecfdcacee3984fc32148f83d7385e3422acfba69a /os
parenta4035af3375825ae277f1363c5d814ee55b92d7c (diff)
downloadopenttd-05df7996a4c8039db0785a7e22fe8db59bcc7513.tar.xz
Feature: [Actions / CMake] support for generic linux builds (#8641)
These bundles can be opened on any "modern" Linux machine with a driver that SDL2 supports. Machines needs at least glibc 2.15, which was released 10 years ago. It is build with CentOS 7 as base, and only assumes the following libraries are available on the system: - libc - libdl - libgcc_s - libpthread - librt - libstdc++ All other libraries the game depends on are bundled together with the game, so users don't need any library installed to use this bundle. The downside of course is that this increases the binary size a bit: 30 MiB of libraries are in this bundle. RPATH is used to make ld-linux find the folder libraries are stored in; however, system libraries are always used before these, in the assumption libraries on the user system are more up-to-date. Using -DOPTION_PACKAGE_DEPENDENCIES=ON switches on packaging of libraries in the "lib" folder. This requires CMake 3.16 to be installed; otherwise it will fail.
Diffstat (limited to 'os')
0 files changed, 0 insertions, 0 deletions