summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/slang/slang/dont-link-to-host.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/slang/slang/dont-link-to-host.patch')
-rw-r--r--meta/recipes-extended/slang/slang/dont-link-to-host.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-extended/slang/slang/dont-link-to-host.patch b/meta/recipes-extended/slang/slang/dont-link-to-host.patch
new file mode 100644
index 0000000000..42dba0fae4
--- /dev/null
+++ b/meta/recipes-extended/slang/slang/dont-link-to-host.patch
@@ -0,0 +1,16 @@
1SLANG_INST_LIB is the location of where slang will end up, but when building for
2packaging this doesn't have DESTDIR appended so can potentially link to the host
3for cross builds and will trigger QA errors.
4
5As this is obviously wrong, delete it.
6
7Upstream-Status: Pending
8Signed-off-by: Ross Burton <ross.burton@intel.com>
9
10diff --git a/slsh/Makefile.in b/slsh/Makefile.in
11index cba9d81..4c1c370 100644
12--- a/slsh/Makefile.in
13+++ b/slsh/Makefile.in
14@@ -80 +80 @@ SHELL = /bin/sh
15-INST_LIBS = $(DEST_LIB_DIR) $(RPATH) $(SLANG_INST_LIB) -lslang $(READLINE_LIB) $(DYNAMIC_LIBS)
16+INST_LIBS = $(DEST_LIB_DIR) $(RPATH) -lslang $(READLINE_LIB) $(DYNAMIC_LIBS)