diff options
| author | Niklas Hambüchen <mail@nh2.me> | 2019-08-11 22:03:56 +0200 |
|---|---|---|
| committer | Niklas Hambüchen <mail@nh2.me> | 2019-08-17 15:59:29 +0200 |
| commit | aa99a263cc9d2deba40dd6c0bd31b03eda1e7ffe (patch) | |
| tree | 0a8ca2ec1397f10343f8d8382a4ccc423df94762 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 2240c5c858857990908bc246902fac71f4a08923 (diff) | |
zlib: Properly clean up static/shared distinction
This improves what commit
e999def1 zlib: clean up static/shared distincion
described as "kind of a mess" and "confusing". And indeed it was confusing.
Now, the concept whether or not the .a file is moved to a split output
is controlled by a clean variable.
The defaults remain unchanged.
The new approach also finally cleanly allows building statically but NOT
using a split output, like all other autoconf-based projects in nixpkgs do
(using the `dontDisableStatic` setting).
That is important for overlays that want to enable static libs for all
packages in one go, without having to hand-patch idiosynchrasies like zlib
had until now.
Until now, if you wanted the .a in the main output, the only way was to go via
`static=false, shared=true` -- which made no sense, because you had to say
`static=false` even though you want a static lib. That is fixed now.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
