mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Merge pull request #4821 from titanous/fix-libcec-dlopen
libcec: patch dlopen path
This commit is contained in:
commit
4380b5e357
|
@ -12,6 +12,11 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ autoreconfHook pkgconfig udev ];
|
||||
|
||||
# Fix dlopen path
|
||||
patchPhase = ''
|
||||
substituteInPlace include/cecloader.h --replace "libcec.so" "$out/lib/libcec.so"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "USB CEC adapter communication library";
|
||||
homepage = "http://libcec.pulse-eight.com";
|
||||
|
|
Loading…
Reference in a new issue