mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
libbtbb: fix paths in pkg-config file
This commit is contained in:
parent
7b77d68bcf
commit
e1adfee035
|
@ -13,6 +13,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
# https://github.com/greatscottgadgets/libbtbb/issues/63
|
||||
postPatch = ''
|
||||
substituteInPlace lib/libbtbb.pc.in \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bluetooth baseband decoding library";
|
||||
homepage = "https://github.com/greatscottgadgets/libbtbb";
|
||||
|
|
Loading…
Reference in a new issue