mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
libmodule: fix paths in pkg-config file
This commit is contained in:
parent
3481609210
commit
0fb6766ccb
@ -17,6 +17,13 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
# https://github.com/FedeDP/libmodule/issues/7
|
||||
postPatch = ''
|
||||
substituteInPlace Extra/libmodule.pc.in \
|
||||
--replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C simple and elegant implementation of an actor library";
|
||||
homepage = "https://github.com/FedeDP/libmodule";
|
||||
|
Loading…
Reference in New Issue
Block a user