libtoxcore: repair paths in pkg-config file

This commit is contained in:
Emery Hemingway 2019-12-23 16:06:21 +00:00
parent 4d6e005dec
commit e298a63fdc

View File

@ -33,6 +33,12 @@ let
doCheck = false; # hangs, tries to access the net?
checkInputs = [ check ];
postFixup =''
sed -i $out/lib/pkgconfig/*.pc \
-e "s|^libdir=.*|libdir=$out/lib|" \
-e "s|^includedir=.*|includedir=$out/include|"
'';
meta = with stdenv.lib; {
description = "P2P FOSS instant messaging application aimed to replace Skype";
homepage = https://tox.chat;