libgbinder: fix cross-compilation
Signed-off-by: Mika Tammi <mika.tammi@unikie.com>
This commit is contained in:
parent
ec58817987
commit
19c3fb47f1
@ -22,6 +22,13 @@ stdenv.mkDerivation rec {
|
||||
libglibutil
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix pkg-config and ranlib names for cross-compilation
|
||||
substituteInPlace Makefile \
|
||||
--replace "pkg-config" "$PKG_CONFIG" \
|
||||
--replace "ranlib" "$RANLIB"
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"LIBDIR=$(out)/lib"
|
||||
"INSTALL_INCLUDE_DIR=$(dev)/include/gbinder"
|
||||
|
Loading…
Reference in New Issue
Block a user