diff options
author | Piotr Bogdan <ppbogdan@gmail.com> | 2019-01-04 19:33:50 +0000 |
---|---|---|
committer | Piotr Bogdan <ppbogdan@gmail.com> | 2019-01-04 21:44:20 +0000 |
commit | ff1fc5a19903a7ad92c6698d290ffada1c02e429 (patch) | |
tree | 5662e4b0bb75f999212da858de79e20431eacd74 /pkgs/tools/text/multitran | |
parent | a830472b0bc7babe6c08392f99d5404697b6f200 (diff) |
multitran.libmtquery: link with libbtree explicitly
Diffstat (limited to 'pkgs/tools/text/multitran')
-rw-r--r-- | pkgs/tools/text/multitran/libmtquery/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/text/multitran/libmtquery/default.nix b/pkgs/tools/text/multitran/libmtquery/default.nix index 153184bf70f3..8b2032dcaba5 100644 --- a/pkgs/tools/text/multitran/libmtquery/default.nix +++ b/pkgs/tools/text/multitran/libmtquery/default.nix @@ -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@' \ |