fped: fix cross build
This commit is contained in:
parent
f28864e00d
commit
4293b7c00b
@ -21,6 +21,11 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0xv364a00zwxhd9kg1z9sch5y0cxnrhk546asspyb9bh58sdzfy7";
|
sha256 = "0xv364a00zwxhd9kg1z9sch5y0cxnrhk546asspyb9bh58sdzfy7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace-fail 'pkg-config' '${stdenv.cc.targetPrefix}pkg-config'
|
||||||
|
'';
|
||||||
|
|
||||||
# Workaround build failure on -fno-common toolchains:
|
# Workaround build failure on -fno-common toolchains:
|
||||||
# ld: postscript.o:postscript.h:29: multiple definition of
|
# ld: postscript.o:postscript.h:29: multiple definition of
|
||||||
# `postscript_params'; fped.o:postscript.h:29: first defined here
|
# `postscript_params'; fped.o:postscript.h:29: first defined here
|
||||||
@ -43,6 +48,7 @@ stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
flex
|
||||||
gtk2
|
gtk2
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user