php: Fix support for JPEG and PNG over GD.
Set an explicit path to the location of libjpeg for version 5.4 and an explicit path to libjpeg _and_ libpng for version 5.3. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
672ae93687
commit
486e918215
@ -89,7 +89,12 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
|||||||
};
|
};
|
||||||
|
|
||||||
gd = {
|
gd = {
|
||||||
configureFlags = ["--with-gd=${gd} --with-freetype-dir=${freetype}"];
|
configureFlags = [
|
||||||
|
"--with-gd"
|
||||||
|
"--with-freetype-dir=${freetype}"
|
||||||
|
"--with-png-dir=${libpng}"
|
||||||
|
"--with-jpeg-dir=${libjpeg}"
|
||||||
|
];
|
||||||
buildInputs = [gd libpng libjpeg freetype];
|
buildInputs = [gd libpng libjpeg freetype];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -90,7 +90,12 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
|||||||
|
|
||||||
gd = {
|
gd = {
|
||||||
# FIXME: Our own gd package doesn't work, see https://bugs.php.net/bug.php?id=60108.
|
# FIXME: Our own gd package doesn't work, see https://bugs.php.net/bug.php?id=60108.
|
||||||
configureFlags = ["--with-gd --with-freetype-dir=${freetype} --with-png-dir=${libpng}"];
|
configureFlags = [
|
||||||
|
"--with-gd"
|
||||||
|
"--with-freetype-dir=${freetype}"
|
||||||
|
"--with-png-dir=${libpng}"
|
||||||
|
"--with-jpeg-dir=${libjpeg}"
|
||||||
|
];
|
||||||
buildInputs = [ libpng libjpeg freetype ];
|
buildInputs = [ libpng libjpeg freetype ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user