multitran.libmtquery: link with libbtree explicitly

This commit is contained in:
Piotr Bogdan 2019-01-04 19:33:50 +00:00
parent a830472b0b
commit ff1fc5a199

View File

@ -9,6 +9,10 @@ stdenv.mkDerivation {
buildInputs = [ libmtsupport libfacet libbtree multitrandata ];
NIX_LDFLAGS = [
"-lbtree"
];
patchPhase = ''
sed -i -e 's@\$(DESTDIR)/usr@'$out'@' \
-e 's@/usr/include/mt/support@${libmtsupport}/include/mt/support@' \