summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-07-23 10:02:51 +0100
committerSergei Trofimovich <slyich@gmail.com>2022-07-25 11:06:58 +0100
commit05077250615fa33003eada31a76b36c0717d8ca4 (patch)
tree40447f779664ac6157aa9e4544e46dcae101efb7 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent0f45ce6e777e2cca2ade01176c19bc66cfe4b5c7 (diff)
setup-hooks/strip.sh: run RANLIB on static archives after stripping
'strip' does not normally preserve archive index in .a files. This usually causes linking failures against static libs like: $ nix build --no-link -f. pkgsCross.mingw32.re2c > ...-i686-w64-mingw32-binutils-2.38/bin/i686-w64-mingw32-ld: /nix/store/...-i686-w64-mingw32-stage-final-gcc-13.0.0-lib/i686-w64-mingw32/lib/libstdc++.dll.a: error adding symbols: archive has no index; run ranlib to add one We restore the index by running ranlib explicitly.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions