libcec: patch dlopen path

This commit is contained in:
Jonathan Rudenberg 2014-11-03 22:00:44 -05:00
parent 6a117fb0b8
commit af8da57242

View File

@ -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";