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