mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
hyperhdr: Fix dlopen path for alsa-lib
This commit is contained in:
parent
b3c1e31e24
commit
6b6a730201
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ stdenv.mkDerivation rec {
|
||||||
./unvendor.patch
|
./unvendor.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace sources/sound-capture/linux/SoundCaptureLinux.cpp \
|
||||||
|
--replace-fail "libasound.so.2" "${lib.getLib alsa-lib}/lib/libasound.so.2"
|
||||||
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DPLATFORM=linux"
|
"-DPLATFORM=linux"
|
||||||
(cmakeBool "USE_SYSTEM_FLATBUFFERS_LIBS" true)
|
(cmakeBool "USE_SYSTEM_FLATBUFFERS_LIBS" true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue