webkitgtk: Fix build with chroot
This commit is contained in:
parent
1eb42d9d79
commit
1eddec9f9b
@ -25,12 +25,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./webcore-svg-libxml-cflags.patch ];
|
patches = [ ./webcore-svg-libxml-cflags.patch ];
|
||||||
|
|
||||||
|
CC = "cc";
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
patchShebangs Tools/gtk
|
patchShebangs Tools/gtk
|
||||||
|
|
||||||
for i in $(find . -name '*.p[l|m]'); do
|
|
||||||
sed -e 's@/usr/bin/gcc@gcc@' -i $i
|
|
||||||
done
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = with stdenv.lib; [
|
configureFlags = with stdenv.lib; [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user