gbinder-python: fix cross-compilation
Signed-off-by: Mika Tammi <mika.tammi@unikie.com>
This commit is contained in:
@@ -26,6 +26,11 @@ buildPythonPackage rec {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix pkg-config name for cross-compilation
|
||||
substituteInPlace setup.py --replace "pkg-config" "$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
setupPyGlobalFlags = [ "--cython" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user