From 24e91135409b3c9e3345896316583454c7d07caf Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 21 Sep 2008 16:21:40 +0000 Subject: [PATCH] Prevent libtool from relinking some files, fixes build failures on arm, does not seem to have side effects on other targets git-svn-id: svn://svn.openwrt.org/openwrt/packages@12644 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/gettext/patches/110-no_relink_install.patch | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 libs/gettext/patches/110-no_relink_install.patch diff --git a/libs/gettext/patches/110-no_relink_install.patch b/libs/gettext/patches/110-no_relink_install.patch new file mode 100644 index 000000000..fd1a602e0 --- /dev/null +++ b/libs/gettext/patches/110-no_relink_install.patch @@ -0,0 +1,41 @@ +diff -urN gettext-0.16.1/gettext-tools/gnulib-lib/Makefile.in gettext-0.16.1.new/gettext-tools/gnulib-lib/Makefile.in +--- gettext-0.16.1/gettext-tools/gnulib-lib/Makefile.in 2006-11-27 18:34:53.000000000 +0100 ++++ gettext-0.16.1.new/gettext-tools/gnulib-lib/Makefile.in 2008-09-21 18:18:52.000000000 +0200 +@@ -648,7 +648,6 @@ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +diff -urN gettext-0.16.1/gettext-tools/libgettextpo/Makefile.in gettext-0.16.1.new/gettext-tools/libgettextpo/Makefile.in +--- gettext-0.16.1/gettext-tools/libgettextpo/Makefile.in 2006-11-27 18:48:21.000000000 +0100 ++++ gettext-0.16.1.new/gettext-tools/libgettextpo/Makefile.in 2008-09-21 18:19:27.000000000 +0200 +@@ -660,7 +660,6 @@ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +diff -urN gettext-0.16.1/gettext-tools/src/Makefile.in gettext-0.16.1.new/gettext-tools/src/Makefile.in +--- gettext-0.16.1/gettext-tools/src/Makefile.in 2006-11-27 18:34:56.000000000 +0100 ++++ gettext-0.16.1.new/gettext-tools/src/Makefile.in 2008-09-21 18:19:10.000000000 +0200 +@@ -1097,7 +1097,6 @@ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +@@ -1129,7 +1128,6 @@ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + -- 2.11.0