mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 02:27:52 +00: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 New Issue
Block a user