From 8f6972df36a520738083dc48eac69b778fbc814e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 13 Nov 2024 12:33:12 -0800 Subject: [PATCH] apk: remove HOST_LDFLAGS hack No longer needed as upstream respects -Ddefault_library now. Refreshed patches. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16945 Signed-off-by: Christian Marangi --- package/system/apk/Makefile | 3 --- .../patches/0001-openwrt-move-layer-db-to-temp-folder.patch | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package/system/apk/Makefile b/package/system/apk/Makefile index f760ce1ec4..4dbd0f854f 100644 --- a/package/system/apk/Makefile +++ b/package/system/apk/Makefile @@ -68,9 +68,6 @@ MESON_ARGS += \ $(MESON_COMMON_ARGS) \ -Dcrypto_backend=$(BUILD_VARIANT) -HOST_LDFLAGS += \ - -Wl,-rpath $(STAGING_DIR_HOST)/lib - define Package/apk/default/install $(INSTALL_DIR) $(1)/lib/apk/db diff --git a/package/system/apk/patches/0001-openwrt-move-layer-db-to-temp-folder.patch b/package/system/apk/patches/0001-openwrt-move-layer-db-to-temp-folder.patch index 8500512212..2b54f47ab7 100644 --- a/package/system/apk/patches/0001-openwrt-move-layer-db-to-temp-folder.patch +++ b/package/system/apk/patches/0001-openwrt-move-layer-db-to-temp-folder.patch @@ -10,7 +10,7 @@ Signed-off-by: Paul Spooren --- a/src/database.c +++ b/src/database.c -@@ -1627,7 +1627,7 @@ const char *apk_db_layer_name(int layer) +@@ -1631,7 +1631,7 @@ const char *apk_db_layer_name(int layer) { switch (layer) { case APK_DB_LAYER_ROOT: return "lib/apk/db";