summaryrefslogtreecommitdiffstats
path: root/package/ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'package/ncurses')
-rw-r--r--package/ncurses/ncurses.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index 79560b121..584a96902 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -57,10 +57,10 @@ endef
define NCURSES_PATCH_NCURSES_CONFIG
$(SED) 's^prefix="^prefix="$(STAGING_DIR)^' \
- $(STAGING_DIR)/bin/ncurses5-config
+ $(STAGING_DIR)/usr/bin/ncurses5-config
endef
-NCURSES_POST_BUILD_HOOKS += NCURSES_PATCH_NCURSES_CONFIG
+NCURSES_POST_STAGING_INSTALL_HOOKS += NCURSES_PATCH_NCURSES_CONFIG
ifeq ($(BR2_HAVE_DEVFILES),y)
define NCURSES_INSTALL_TARGET_DEVFILES