diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2021-08-22 19:40:56 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2022-02-27 10:25:34 +0100 |
| commit | 7bc32b3e5cc623a7b4b0fad900db26258592b9e6 (patch) | |
| tree | ed690093a24e05c7216a3c53ccc624e0fd5d32be /pkgs/development/python-modules/rangehttpserver | |
| parent | 7459a4021cb33d71598f0cbf8c798f9168638d3f (diff) | |
glibc: symlink `libpthread.so -> libpthread.so.0` (same for `-lrt`) for backwards compatibility
Linking via `-lpthread` (or `-pthread`) is not needed anymore since
`glibc-2.34` since all the functionality is part of `libc.so.6` and
`libpthread.so.6` only exists for backwards-compatibility.
However, e.g. `gcc` (`libgomp` to be precise) expects a `libpthread.so`
to link against, otherwise the configure script will fail. As already
stated in the glibc release-notes itself, it is to expect that a lot
more applications will have issues with this, so I decided to re-add
`libpthread.so` as well.
For `librt.so.1`, the same thing is needed to make sure that Perl still
compiles:
/nix/store/d6y5r7m93x14bmgn2p75fannz39jz66f-binutils-2.35.1/bin/ld: cannot find -lrt
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:490: ../../lib/auto/Time/HiRes/HiRes.so] Error 1
make[1]: Leaving directory '/build/perl-5.34.0/dist/Time-HiRes'
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
