diff options
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.patch | 16 |
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 @@ | |||
1 | SLANG_INST_LIB is the location of where slang will end up, but when building for | ||
2 | packaging this doesn't have DESTDIR appended so can potentially link to the host | ||
3 | for cross builds and will trigger QA errors. | ||
4 | |||
5 | As this is obviously wrong, delete it. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
9 | |||
10 | diff --git a/slsh/Makefile.in b/slsh/Makefile.in | ||
11 | index 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) | ||