xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/slang/slang/dont-link-to-host.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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)
17