0003-link-icudata-as-data-only.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From d5d0c4bb7cc9aa4a132ec0bea13255aee50c1cf9 Mon Sep 17 00:00:00 2001
  2. From: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
  3. Date: Fri, 6 Jun 2014 14:55:58 +0200
  4. Subject: [PATCH] Don't link icudata as a data only library
  5. This patch cames straight from Debian. It fixes an issue when
  6. libicudata would not have some flags indicating it's EABIhf, causing
  7. applications linked against libicudata to not start on EABIhf
  8. systems. Getting rid of the -nodefaultlibs -nostdlib flags solves the
  9. problem, and is the solution that is used by Debian, see
  10. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457.
  11. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
  12. ---
  13. source/config/mh-linux | 4 +++-
  14. 1 file changed, 3 insertions(+), 1 deletion(-)
  15. diff --git a/source/config/mh-linux b/source/config/mh-linux
  16. index 531a3b2..5a2a7c4 100644
  17. --- a/source/config/mh-linux
  18. +++ b/source/config/mh-linux
  19. @@ -21,7 +21,9 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
  20. LD_RPATH_PRE = -Wl,-rpath,
  21. ## These are the library specific LDFLAGS
  22. -LDFLAGSICUDT=-nodefaultlibs -nostdlib
  23. +#LDFLAGSICUDT=-nodefaultlibs -nostdlib
  24. +# Debian change: linking icudata as data only causes too many problems.
  25. +LDFLAGSICUDT=
  26. ## Compiler switch to embed a library name
  27. # The initial tab in the next line is to prevent icu-config from reading it.
  28. --
  29. 2.0.0.rc2