summarylogtreecommitdiffstats
path: root/no_rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'no_rpath.patch')
-rw-r--r--no_rpath.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/no_rpath.patch b/no_rpath.patch
new file mode 100644
index 000000000000..3d823070aa7c
--- /dev/null
+++ b/no_rpath.patch
@@ -0,0 +1,14 @@
+Description: do not let flite add a dummy rpath
+Author: Samuel Thibault <sthibault@debian.org>
+diff --git a/main/Makefile b/main/Makefile
+index 8163e40..5ad6a14 100644
+--- a/main/Makefile
++++ b/main/Makefile
+@@ -75,7 +75,6 @@ LOCAL_CLEAN = $(BINDIR)/flite$(EXEEXT) $(BINDIR)/flite_time$(EXEEXT) \
+ $(flite_LIBS_deps) $(VOICES:%=$(BINDIR)/flite_%)
+
+ ifdef SHFLAGS
+-flite_LIBS_flags += -Wl,-rpath $(LIBDIR)
+ shared_libs: $(SHAREDLIBS)
+ else
+ shared_libs: nothing