Merge pull request #4821 from titanous/fix-libcec-dlopen

libcec: patch dlopen path
This commit is contained in:
lethalman 2014-11-04 09:51:25 +01:00
commit 4380b5e357

View file

@ -12,6 +12,11 @@ stdenv.mkDerivation {
buildInputs = [ autoreconfHook pkgconfig udev ]; buildInputs = [ autoreconfHook pkgconfig udev ];
# Fix dlopen path
patchPhase = ''
substituteInPlace include/cecloader.h --replace "libcec.so" "$out/lib/libcec.so"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "USB CEC adapter communication library"; description = "USB CEC adapter communication library";
homepage = "http://libcec.pulse-eight.com"; homepage = "http://libcec.pulse-eight.com";