diff options
Diffstat (limited to 'openembedded/packages/readline/readline-4.3/shlink-termcap.patch')
-rw-r--r-- | openembedded/packages/readline/readline-4.3/shlink-termcap.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/openembedded/packages/readline/readline-4.3/shlink-termcap.patch b/openembedded/packages/readline/readline-4.3/shlink-termcap.patch new file mode 100644 index 0000000000..249f4e7081 --- /dev/null +++ b/openembedded/packages/readline/readline-4.3/shlink-termcap.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- readline-4.3/shlib/Makefile.in~shlink-termcap | ||
7 | +++ readline-4.3/shlib/Makefile.in | ||
8 | @@ -53,11 +53,13 @@ | ||
9 | CFLAGS = @CFLAGS@ | ||
10 | LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"' | ||
11 | CPPFLAGS = @CPPFLAGS@ | ||
12 | -LDFLAGS = @LDFLAGS@ @LOCAL_LDFLAGS@ @CFLAGS@ | ||
13 | +LDFLAGS = @LDFLAGS@ $(SHOBJ_LDFLAGS) $(SHLIB_XLDFLAGS) @LOCAL_LDFLAGS@ @CFLAGS@ | ||
14 | |||
15 | DEFS = @DEFS@ | ||
16 | LOCAL_DEFS = @LOCAL_DEFS@ | ||
17 | |||
18 | +TERMCAP_LIB = @TERMCAP_LIB@ | ||
19 | + | ||
20 | # | ||
21 | # These values are generated for configure by ${topdir}/support/shobj-conf. | ||
22 | # If your system is not supported by that script, but includes facilities for | ||
23 | @@ -73,7 +75,7 @@ | ||
24 | SHOBJ_LIBS = @SHOBJ_LIBS@ | ||
25 | |||
26 | SHLIB_XLDFLAGS = @SHLIB_XLDFLAGS@ | ||
27 | -SHLIB_LIBS = @SHLIB_LIBS@ | ||
28 | +SHLIB_LIBS = @SHLIB_LIBS@ @TERMCAP_LIB@ | ||
29 | SHLIB_LIBSUFF = @SHLIB_LIBSUFF@ | ||
30 | |||
31 | SHLIB_LIBVERSION = @SHLIB_LIBVERSION@ | ||
32 | @@ -147,11 +149,11 @@ | ||
33 | |||
34 | $(SHARED_READLINE): $(SHARED_OBJ) | ||
35 | $(RM) $@ | ||
36 | - $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS) | ||
37 | + $(SHOBJ_LD) ${LDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS) | ||
38 | |||
39 | $(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so | ||
40 | $(RM) $@ | ||
41 | - $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so $(SHLIB_LIBS) | ||
42 | + $(SHOBJ_LD) ${LDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so $(SHLIB_LIBS) | ||
43 | |||
44 | # Since tilde.c is shared between readline and bash, make sure we compile | ||
45 | # it with the right flags when it's built as part of readline | ||