hyperhdr: Fix dlopen path for alsa-lib

This commit is contained in:
eymeric 2025-04-29 08:59:18 +02:00
parent b3c1e31e24
commit 6b6a730201
No known key found for this signature in database

View file

@ -50,6 +50,11 @@ stdenv.mkDerivation rec {
./unvendor.patch
];
postPatch = ''
substituteInPlace sources/sound-capture/linux/SoundCaptureLinux.cpp \
--replace-fail "libasound.so.2" "${lib.getLib alsa-lib}/lib/libasound.so.2"
'';
cmakeFlags = [
"-DPLATFORM=linux"
(cmakeBool "USE_SYSTEM_FLATBUFFERS_LIBS" true)