Change icu4c to patch configuration file for arm.

parent 98f46c80
...@@ -9,6 +9,12 @@ class Icu4c < Package ...@@ -9,6 +9,12 @@ class Icu4c < Package
def self.build def self.build
FileUtils.cd('source') do FileUtils.cd('source') do
case ARCH
when 'aarch64', 'armv7l'
# Armhf requires sane ELF headers rather than other architectures as
# discussed in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457
system "sed -e '/LDFLAGSICUDT=/cLDFLAGSICUDT=' -i config/mh-linux"
end
system "./configure", "--without-samples", "--without-tests" system "./configure", "--without-samples", "--without-tests"
system "make" system "make"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment