sord: support cross-compilation

This commit is contained in:
Rick van Schijndel 2021-09-29 22:02:04 +02:00
parent d2938964df
commit b7799ce5b0

View File

@ -13,9 +13,14 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
preConfigure = ''
export PKGCONFIG="$PKG_CONFIG"
'';
nativeBuildInputs = [ pkg-config python3 wafHook ];
buildInputs = [ pcre ];
propagatedBuildInputs = [ serd ];
dontAddWafCrossFlags = true;
meta = with lib; {
homepage = "http://drobilla.net/software/sord";