summaryrefslogtreecommitdiff
path: root/package/ncurses
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-22 20:44:54 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-22 20:45:31 +0200
commiteebe468beb1e190402554c2008e313f2e3e08964 (patch)
tree9d61c20ab395a21f619df15388074b1a1ba9914a /package/ncurses
parent76e3ac73178cb718eee09fed999dd82ec42b99cc (diff)
ncurses: fix build for binfmt flat
Diffstat (limited to 'package/ncurses')
-rw-r--r--package/ncurses/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index cf5aa1aa1..6acd76094 100644
--- a/package/ncurses/Makefile
+++ b/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