X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/6ca2a42ec5d524b02798302e3af2a07d7844c3b9..9cd1d2565e83ded77a7755844bb0f152405736be:/openwrt/package/ncurses/Makefile?ds=sidebyside diff --git a/openwrt/package/ncurses/Makefile b/openwrt/package/ncurses/Makefile index 662ea6e89..4e0f9ba0b 100644 --- a/openwrt/package/ncurses/Makefile +++ b/openwrt/package/ncurses/Makefile @@ -25,7 +25,10 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,LIBNCURSES,libncurses,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared + touch $@ + +$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ @@ -71,7 +74,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ ac_cv_linux_vers="2" \ ./configure \ --target=$(GNU_TARGET_NAME) \