Skip to content

Commit

Permalink
apk: remove HOST_LDFLAGS hack
Browse files Browse the repository at this point in the history
No longer needed as upstream respects -Ddefault_library now.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: openwrt/openwrt#16945
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
  • Loading branch information
neheb authored and Ansuel committed Nov 16, 2024
1 parent 0000ba6 commit 8f6972d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions package/system/apk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 8f6972d

Please sign in to comment.