1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

lib3mf: fix pkg-config file

This commit is contained in:
Gabriel Ebner 2019-04-21 17:24:49 +02:00
parent 1570951612
commit df448f0993

View file

@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
postPatch = ''
rmdir UnitTests/googletest
ln -s ${gtest.src} UnitTests/googletest
# fix libdir=''${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
sed -i 's,=''${\(exec_\)\?prefix}/,=,' lib3MF.pc.in
'';
meta = with stdenv.lib; {