mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 19:01:53 +00:00
1.11.1 was the last LGPLv2 release shared_preloadable_libiconv_linux.patch is needed to make libtool 2.4 happy Autoconf patch is similarly made to point m4 directory and update to newer autoconf (From OE-Core rev: aab85d9003afa544f67a9573692683f36f9e44d0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
1.5 KiB
Diff
25 lines
1.5 KiB
Diff
With libtool generating shared and static version of libraries needs -fPIC flags
|
|
without this it will not generate the commands to create shared linked library
|
|
Its more enforced by libtool 2.4. I have not checked it with older libtool
|
|
libiconv 1.11.x is relatively old release and libtool 2.4 did not exist when it
|
|
was released these kind of problem are more likely
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Index: libiconv-1.11.1/lib/Makefile.in
|
|
===================================================================
|
|
--- libiconv-1.11.1.orig/lib/Makefile.in
|
|
+++ libiconv-1.11.1/lib/Makefile.in
|
|
@@ -70,9 +70,9 @@ preloadable_libiconv.so : preloadable_li
|
|
|
|
preloadable_libiconv_linux.so : $(SOURCES)
|
|
if test -n "@GCC@"; then \
|
|
- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_linux.so; \
|
|
+ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -rpath $(libdir) -o libpreload_iconv.la && cp .libs/libpreload_iconv.so preloadable_libiconv_linux.so; \
|
|
else \
|
|
- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_linux.so; \
|
|
+ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -rpath $(libdir) -o libpreload_iconv.la && cp .libs/libpreload_iconv.so preloadable_libiconv_linux.so; \
|
|
fi
|
|
|
|
preloadable_libiconv_solaris.so : $(SOURCES)
|