From 363999822d4a4a2df7496fab1e5b10c16b70e954 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 3 Mar 2025 20:29:58 -0700 Subject: [PATCH] Dynamic linking for cosmic-store --- recipes/tools/cosmic-store/recipe.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes/tools/cosmic-store/recipe.toml b/recipes/tools/cosmic-store/recipe.toml index b44a44381..d449298fd 100644 --- a/recipes/tools/cosmic-store/recipe.toml +++ b/recipes/tools/cosmic-store/recipe.toml @@ -9,6 +9,7 @@ dependencies = [ "openssl1", ] script = """ +DYNAMIC_INIT export GETTEXT_DIR="${COOKBOOK_SYSROOT}" export GETTEXT_STATIC=1 cookbook_cargo --no-default-features --features desktop,pkgar @@ -21,3 +22,9 @@ cp -v "${COOKBOOK_SOURCE}/res/${APPID}.metainfo.xml" "${COOKBOOK_STAGE}/usr/shar mkdir -pv "${COOKBOOK_STAGE}/usr/share/icons/" cp -rv "${COOKBOOK_SOURCE}/res/icons/hicolor/" "${COOKBOOK_STAGE}/usr/share/icons/" """ + +[package] +shared-deps = [ + "libgcc", + "openssl1", +]