soxr: fix include directory in pkgconfig file

The include directory in soxr.pc points to the wrong output. Fix it.

(Upstream seems dead -- the last upstream commit is from 2018 and the
few merge requests that have been made since then are neither merged nor
closed.)

Fixes: a7853ab93a ("soxr: extract dev output")
This commit is contained in:
Bjørn Forsman 2025-04-21 00:10:10 +02:00
parent 33a76486c7
commit a53c45809b

View file

@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = [
# Workaround for upstream not using GNUInstallDirs.
"-DINCLUDE_INSTALL_DIR=${placeholder "dev"}/include"
];
meta = with lib; {
description = "Audio resampling library";
homepage = "https://soxr.sourceforge.net";