From 79eb38aefd66eef5ce263db9d56dc19df0343f28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9C=A0=EB=A6=AC=EB=82=98/Common=20Platform=20Lab=28SR=29?= =?utf8?q?/Staff=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 28 Apr 2020 12:02:01 +0900 Subject: [PATCH] Add the symbolic link for libSkiaSharp and libHarfBuzzSharp (#213) --- packaging/xsf.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/xsf.spec b/packaging/xsf.spec index 35d6609..59ef5e8 100644 --- a/packaging/xsf.spec +++ b/packaging/xsf.spec @@ -40,8 +40,9 @@ cp %{DOTNET_NUGET_SOURCE}/*.nupkg ./packages/ %install mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH} -mkdir -p %{buildroot}%{DOTNET_PRELOAD_PATH} mv ./src/XSF/bin/Release/netstandard2.0/XSF.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH} + +mkdir -p %{buildroot}%{DOTNET_PRELOAD_PATH} mv ./packaging/XSF.preload %{buildroot}%{DOTNET_PRELOAD_PATH} mkdir -p %{buildroot}%{THEME_FILE_PATH} @@ -56,6 +57,9 @@ mv ./src/XSF/lib/armel/%{LIB_HARFBUZZ_NAME} %{buildroot}%{SKIA_LIBRARY_PATH} mv ./src/XSF/lib/armel/%{LIB_SKIASHARP_NAME} %{buildroot}%{SKIA_LIBRARY_PATH} %endif +ln -s %{SKIA_LIBRARY_PATH}/%{LIB_SKIASHARP_NAME} %{buildroot}%{SKIA_LIBRARY_PATH}/libSkiaSharp.so +ln -s %{SKIA_LIBRARY_PATH}/%{LIB_HARFBUZZ_NAME} %{buildroot}%{SKIA_LIBRARY_PATH}/libHarfBuzzSharp.so + mkdir -p %{buildroot}%{IBC_DATA_PATH} mv ./src/XSF/ibc/XSF.ibc %{buildroot}%{IBC_DATA_PATH} -- 2.7.4