nixpkgs/pkgs/development/libraries/flite/fix-rpath.patch
Orivej Desh 3f7751ecd4 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`.
2017-11-21 01:14:34 +00:00

6 lines
163 B
Diff

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