summaryrefslogtreecommitdiff
path: root/package/ncurses/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-10-27 10:32:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-28 19:10:20 +0200
commita112d2d80fcbddef7b6d17e7774949c156d5e624 (patch)
tree5c8a8b1d28ccaa2557152c4328f2e5dd9124457e /package/ncurses/Makefile
parent28e1e842ddef9861fe8e848bc7ada5f9a2237393 (diff)
gdbserver: fix static linking
Diffstat (limited to 'package/ncurses/Makefile')
-rw-r--r--package/ncurses/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index dc6e02a15..e0c7e4aa6 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -31,7 +31,7 @@ TARGET_CFLAGS:= $(filter-out -static,$(TARGET_CFLAGS))
TARGET_LDFLAGS:=$(filter-out -static,$(TARGET_LDFLAGS))
endif
-ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
CONFIGURE_ARGS+= --with-static
else
CONFIGURE_ARGS+= --with-shared