summaryrefslogtreecommitdiffstats
path: root/package/ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'package/ncurses')
-rw-r--r--package/ncurses/ncurses.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index a2f938ad4..63b7129f4 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -100,6 +100,8 @@ $(STAGING_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/lib/libn
ticdir=$(STAGING_DIR)/usr/share/terminfo \
-C $(NCURSES_DIR) install
chmod a-x $(NCURSES_DIR)/lib/libncurses.so*
+ $(SED) 's^prefix="^prefix="$(STAGING_DIR)^' \
+ $(STAGING_DIR)/bin/ncurses5-config
touch -c $@
$(TARGET_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION): $(STAGING_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION)