Merge pull request #45324 from teto/libvirt_fix2
libvirt: darwin/linux fix dlopen("libjansson.so.4")
This commit is contained in:
commit
98579944cd
1 changed files with 3 additions and 1 deletions
|
@ -60,6 +60,8 @@ in stdenv.mkDerivation rec {
|
|||
--replace 'lxc_path,' '"/run/libvirt/nix-emulators/libvirt_lxc",'
|
||||
|
||||
patchShebangs . # fixes /usr/bin/python references
|
||||
substituteInPlace src/util/virjsoncompat.c --replace \
|
||||
'"libjansson.so.4"' '"${jansson}/lib/libjansson${stdenv.targetPlatform.extensions.sharedLibrary}"'
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
|
Loading…
Reference in a new issue