apk: remove HOST_LDFLAGS hack
authorRosen Penev <rosenp@gmail.com>
Wed, 13 Nov 2024 20:33:12 +0000 (12:33 -0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 16 Nov 2024 16:24:33 +0000 (17:24 +0100)
No longer needed as upstream respects -Ddefault_library now.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16945
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/system/apk/Makefile
package/system/apk/patches/0001-openwrt-move-layer-db-to-temp-folder.patch

index f760ce1ec4af65bfba1bb9697e1eb4dce097bc8a..4dbd0f854f37b43e7a74e0bce65f45215a28f39d 100644 (file)
@@ -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
 
index 850051221221e701f13177c93e6fc5d39242dd63..2b54f47ab77b223d0f5c6365549d9dbae752ce6d 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: Paul Spooren <mail@aparcar.org>
 
 --- 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";