flite: 1.9.0 -> 2.0.0, fix build with Nix 1.12

It is failing with:

     RPATH of binary /nix/store/...-flite-.../bin/flite contains a forbidden reference to /build

because of the rpath entry `../build/x86_64-linux-gnu/lib`.
This commit is contained in:
Orivej Desh
2017-11-21 01:12:29 +00:00
parent ce98c217d7
commit 3f7751ecd4
2 changed files with 13 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
--- a/main/Makefile
+++ b/main/Makefile
@@ -81 +80,1 @@ ifdef SHFLAGS
-flite_LIBS_flags += -Wl,-rpath $(LIBDIR)
+flite_LIBS_flags += -Wl,-rpath,$(INSTALLLIBDIR)