Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Inappropriate [wrlinux specific] |
| 2 | |
| 3 | Subject: expect: install scripts without using the fixline1 tcl script |
| 4 | |
| 5 | On older machines like SLED11.2, we are encountering do_install failures |
| 6 | complaining that 'GLIBC_2.14' is not found in /lib64/libc.so.6 but is required |
| 7 | by libtcl8.6.so.0. |
| 8 | |
| 9 | This is because that we're executing the fixline1 tcl script which requires |
| 10 | libtcl8.6.so.0 in sysroot. However, all commands in SCRIPTS already have got |
| 11 | the correct first line, that is '#!/bin/sh'. We don't need to modify anything. |
| 12 | That's why we could just copy them. |
| 13 | |
| 14 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
| 15 | --- |
| 16 | Makefile.in | 2 +- |
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 | |
| 19 | diff --git a/Makefile.in b/Makefile.in |
| 20 | index c05c880..f1394ff 100644 |
| 21 | --- a/Makefile.in |
| 22 | +++ b/Makefile.in |
| 23 | @@ -380,7 +380,7 @@ dist: dist-clean doc |
| 24 | cp $(DIST_ROOT)/$(PKG_DIR).tar.gz $(top_builddir) |
| 25 | |
| 26 | $(SCRIPTS): |
| 27 | - $(TCLSH) $(srcdir)/fixline1 $(SHORT_BINDIR) < $(srcdir)/example/$@ > $@ |
| 28 | + cp $(srcdir)/example/$@ $@ |
| 29 | |
| 30 | ## We cannot use TCL_LIBS below (after TCL_LIB_SPEC) because its |
| 31 | ## expansion references the contents of LIBS, which contains linker |
| 32 | -- |
| 33 | 1.7.10.4 |
| 34 | |