mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
optipng: Workaround for issue 28106.
This commit is contained in:
parent
0c1c3d2b99
commit
9fab349ef5
@ -17,6 +17,12 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libpng ];
|
||||
|
||||
LDFLAGS = optional static "-static";
|
||||
# Workaround for crash in cexcept.h. See
|
||||
# https://github.com/NixOS/nixpkgs/issues/28106
|
||||
preConfigure = ''
|
||||
export LD=$CC
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-system-zlib"
|
||||
"--with-system-libpng"
|
||||
|
Loading…
Reference in New Issue
Block a user