From 8dfa8ca658afeb507dcb172ef776426f07b72967 Mon Sep 17 00:00:00 2001 From: rakeshsinghranchi Date: Tue, 23 May 2017 18:57:42 -0700 Subject: [PATCH] Fix Debian package build (dotnet/core-setup#2493) * Fix Debian package build - {shlibs:Depends} will pick up the correct packages for anything we link against so we don't need to include libssl and libcurl in the json config files. - Add an explicit dependency on ICU (the runtime no longer links against it directly so dh_shlibdeps wasn't picking it up). * Adding back libssl1.0.0 dependency. Commit migrated from https://github.com/dotnet/core-setup/commit/c08a4ebfefab2d467639227588dbbb6f8aaf54db --- .../packaging/deb/dotnet-sharedframework-debian_config.json | 2 +- src/installer/pkg/packaging/deb/package.targets | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/installer/pkg/packaging/deb/dotnet-sharedframework-debian_config.json b/src/installer/pkg/packaging/deb/dotnet-sharedframework-debian_config.json index 1bd8461..7423661 100644 --- a/src/installer/pkg/packaging/deb/dotnet-sharedframework-debian_config.json +++ b/src/installer/pkg/packaging/deb/dotnet-sharedframework-debian_config.json @@ -31,7 +31,7 @@ "debian_dependencies":{ "%HOSTFXR_DEBIAN_PACKAGE_NAME%" : {}, "libssl1.0.0" : {}, - "libcurl3" : {} + "%LIBICU_PACKAGE_NAME%": {} }, "debian_ignored_dependencies" : [ diff --git a/src/installer/pkg/packaging/deb/package.targets b/src/installer/pkg/packaging/deb/package.targets index 20626a5..8ab4f76 100644 --- a/src/installer/pkg/packaging/deb/package.targets +++ b/src/installer/pkg/packaging/deb/package.targets @@ -216,6 +216,12 @@ + + + + + @@ -248,6 +254,10 @@ $(SharedFrameworkBrandName) + + $(LibIcuPackageName) + +