summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-12-09 02:33:50 (GMT)
committerJiyoung Yun <jy910.yun@samsung.com>2017-04-27 07:58:14 (GMT)
commitb08c3d7a84026eecf0495ecfe7fc9338bc79af14 (patch)
tree7e96173b4805a55dd385aaa2d727deb41785c326 /packaging
parentbe322b0c460a88e7f0d8d8c43f912994f2de72fa (diff)
downloadcoreclr-b08c3d7a84026eecf0495ecfe7fc9338bc79af14.zip
coreclr-b08c3d7a84026eecf0495ecfe7fc9338bc79af14.tar.gz
coreclr-b08c3d7a84026eecf0495ecfe7fc9338bc79af14.tar.bz2
Embed libicu in Tools directory
Change-Id: If9adc8cb617783101d11a2a564c663ff8bebb21d Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/coreclr.spec10
-rw-r--r--packaging/downloaded_files.tar.gzbin156610475 -> 156518381 bytes
-rw-r--r--packaging/libicu.tar.gzbin0 -> 12152902 bytes
3 files changed, 6 insertions, 4 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index e8f5a0a..419ccbd 100644
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -22,6 +22,7 @@ URL: http://github.com/dotnet/coreclr
Source0: %{name}-%{version}.tar.gz
Source1000: downloaded_files.tar.gz
Source1001: %{name}.manifest
+Source1002: libicu.tar.gz
# Gbp-Ignore-Patches: 0 1 2
Patch0: Add-Tizen-distro.patch
Patch1: Do-not-ignore-project.lock.json.patch
@@ -103,13 +104,14 @@ cp %{SOURCE1001} .
cp %{SOURCE1000} ./
tar xf %{SOURCE1000}
%ifarch armv7l
+%setup -T -D -a 1002
patchelf --set-interpreter /emul/lib64/ld-linux-x86-64.so.2 ./Tools/dotnetcli/dotnet
-patchelf --set-rpath /emul/usr/lib64/ ./Tools/dotnetcli/dotnet
+patchelf --set-rpath /emul/usr/lib64/:%{_builddir}/%{name}-%{version}/libicu/ ./Tools/dotnetcli/dotnet
patchelf --set-interpreter /emul/lib64/ld-linux-x86-64.so.2 ./Tools/dotnetcli/shared/Microsoft.NETCore.App/1.0.0-rc3-002733/dotnet
-patchelf --set-rpath /emul/usr/lib64/ ./Tools/dotnetcli/shared/Microsoft.NETCore.App/1.0.0-rc3-002733/dotnet
-for file in $( find ./Tools -iname "*.so" )
+patchelf --set-rpath /emul/usr/lib64/:%{_builddir}/%{name}-%{version}/libicu/ ./Tools/dotnetcli/shared/Microsoft.NETCore.App/1.0.0-rc3-002733/dotnet
+for file in $( find ./Tools ./libicu -iname "*.so" -or -iname "*.so.*" )
do
- patchelf --set-rpath /emul/usr/lib64/ $file
+ patchelf --set-rpath /emul/usr/lib64/:%{_builddir}/%{name}-%{version}/libicu/ $file
done
%endif
%endif
diff --git a/packaging/downloaded_files.tar.gz b/packaging/downloaded_files.tar.gz
index 56a4954..876bf19 100644
--- a/packaging/downloaded_files.tar.gz
+++ b/packaging/downloaded_files.tar.gz
Binary files differ
diff --git a/packaging/libicu.tar.gz b/packaging/libicu.tar.gz
new file mode 100644
index 0000000..949308e
--- /dev/null
+++ b/packaging/libicu.tar.gz
Binary files differ