浏览代码

ncurses: fix build for binfmt flat

Waldemar Brodkorb 8 年之前
父节点
当前提交
eebe468beb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/ncurses/Makefile

+ 1 - 1
package/ncurses/Makefile

@@ -26,7 +26,7 @@ include ${ADK_TOPDIR}/mk/package.mk
 $(eval $(call HOST_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE}))
 $(eval $(call PKG_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
 
-ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
+ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS),y)
 CONFIGURE_ARGS+=	--with-static
 else
 CONFIGURE_ARGS+=	--with-shared