summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2022-05-16 10:59:18 +0300
committerArtturin <Artturin@artturin.com>2022-09-07 21:44:36 +0300
commitda6a95493f416883f2d6b33cbe2ee3c3305110e1 (patch)
treea7981d292b6ffbdd4fb6f50bd51cf1fdbc9b08d9 /pkgs/development
parent427ae9a1e147fe39385f6ac344e443a18623ba63 (diff)
bcg729: fix path in pkg-config file
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/bcg729/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/bcg729/default.nix b/pkgs/development/libraries/bcg729/default.nix
index 125512c3fed6..ff5840b8373f 100644
--- a/pkgs/development/libraries/bcg729/default.nix
+++ b/pkgs/development/libraries/bcg729/default.nix
@@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
 
+  postPatch = ''
+    substituteInPlace CMakeLists.txt \
+      --replace '\$'{exec_prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR}
+  '';
+
   meta = with lib; {
     description = "Opensource implementation of both encoder and decoder of the ITU G729 Annex A/B speech codec";
     homepage = "https://linphone.org/technical-corner/bcg729";