From: Peter Korsgaard Date: Sun, 1 Mar 2009 22:35:48 +0000 (-0000) Subject: ncurses: fixup ncurses5-config script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cf28ade0b4fe9ef33941cdef68b7c4e72b91129;p=buildroot.git ncurses: fixup ncurses5-config script Fixes #133. --- diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index a2f938ad4c..63b7129f48 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)