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; {