summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2022-05-07 06:30:58 -0400
committerShea Levy <shea@shealevy.com>2022-05-09 10:11:01 -0400
commitece10a711f5a2c406d8907c66c99c61f776c2ac1 (patch)
tree382fc06c01a80fb2aa0317fe54265449afca9825 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent5e8a857310a580d6f7a3d56ec99295792143d496 (diff)
ghcHEAD: Fix Windows cross-compilation with lld.
By specifying pkgs.libffi here instead of letting callPackage handle it, we confuse the splicing logic and put the host libffi into NIX_LDFLAGS_FOR_TARGET. This previously hasn't been a problem, as we also pass an explicit configure flag pointing to the target libffi, and so the only side-effect is a senseless -rpath flag. ld.lld (rightly) does not recognize the -rpath flag when targeting Windows, however, so this causes build failures.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions