tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
optipng: Workaround for issue 28106.
moritz.vongoewels.de
8 years ago
9fab349e
0c1c3d2b
+6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
graphics
optipng
default.nix
+6
pkgs/tools/graphics/optipng/default.nix
···
17
buildInputs = [ libpng ];
18
19
LDFLAGS = optional static "-static";
0
0
0
0
0
0
20
configureFlags = [
21
"--with-system-zlib"
22
"--with-system-libpng"
···
17
buildInputs = [ libpng ];
18
19
LDFLAGS = optional static "-static";
20
+
# Workaround for crash in cexcept.h. See
21
+
# https://github.com/NixOS/nixpkgs/issues/28106
22
+
preConfigure = ''
23
+
export LD=$CC
24
+
'';
25
+
26
configureFlags = [
27
"--with-system-zlib"
28
"--with-system-libpng"