mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
3f7751ecd4
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`.
6 lines
163 B
Diff
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)
|