summaryrefslogtreecommitdiff
path: root/Ports/zlib
AgeCommit message (Collapse)Author
2021-04-25Ports: Build shared libraries with -Wl,-sonameGunnar Beutner
Without a SONAME gcc will put the whole library path into executables which link against these libraries: $ readelf -d Root/usr/local/games/openttd Dynamic section at offset 0xf0747c contains 32 entries: Tag Type Name/Value 0x00000001 (NEEDED) [libgcc_s.so] 0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/libpng.so] 0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/libz.so] 0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/liblzma.so] 0x00000001 (NEEDED) [libSDL2-2.0.so.1] 0x00000001 (NEEDED) [libicui18n.so.69] 0x00000001 (NEEDED) [libicuuc.so.69] 0x00000001 (NEEDED) [libicudata.so.69] 0x00000001 (NEEDED) [libpthread.so] 0x00000001 (NEEDED) [libm.so] 0x00000001 (NEEDED) [libc.so] This causes the executable to fail because the dynamic linker tries to find the library in the incorrect path.
2021-04-20Ports: Improve consistency and quality of portsPanagiotis Vasilopoulos
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
2021-04-16Ports: Build shared libraries for a few more portsGunnar Beutner
This manually builds shared libraries for a bunch of ports. Using libtool would be preferable but that's currently broken so I'm linking the shared libraries manually.
2021-01-22Meta: Get building on NixOS (#5005)Jonathan Turner
2020-02-06Ports: Added checksums / signature files and other fixesEmanuel Sprung
* Use ${version} instead of explicit version numbers in urls/filenames * Move -L option to port script, as this is always good * Fix some various other stuff
2020-01-26Ports: Fix zlib buildAndreas Kling
We only support static linking at the moment, and zlib was trying to build itself as a shared library. Fixes #1135.
2019-11-03Ports: Undo POSIX sh compliance changes for nowAndreas Kling
Partial revert of 704f48d7f3a1a88047a64b4e2939878d6d4fafb8. These changes made the ports system unusable.
2019-11-03POSIX compliance: (most) shell scripts converted to generic shellGeorge Pickering
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh have been left largely untouched due to use of Bash-exclusive functions and variables such as $BASH_SOURCE, pushd and popd.
2019-10-05Ports: Add zlib portVincent Sanders