diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-12-14 17:04:38 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-12-15 22:14:47 +0100 |
commit | 43fa88ae90f7c8684456ff931dc0e57efbb5e3f4 (patch) | |
tree | 3ffbc5f3eaa1613722123bf901a0473c1b5d912c /package/ncurses | |
parent | f44080e13cf66d4483da03c4ab119722b435ba5c (diff) | |
download | buildroot-43fa88ae90f7c8684456ff931dc0e57efbb5e3f4.tar.gz buildroot-43fa88ae90f7c8684456ff931dc0e57efbb5e3f4.zip |
package/ncurses: slight code re-arrangement
Move the definition of libraries to install before it is actually used.
Also, in a coming changeset, it will also be used to know which
pkg-config files to symlink.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ncurses')
-rw-r--r-- | package/ncurses/ncurses.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index ec64663afd..b870aa4972 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -43,6 +43,11 @@ else ifeq ($(BR2_SHARED_STATIC_LIBS),y) NCURSES_CONF_OPTS += --with-shared --with-normal endif +NCURSES_LIBS-y = libncurses +NCURSES_LIBS-$(BR2_PACKAGE_NCURSES_TARGET_MENU) += libmenu +NCURSES_LIBS-$(BR2_PACKAGE_NCURSES_TARGET_PANEL) += libpanel +NCURSES_LIBS-$(BR2_PACKAGE_NCURSES_TARGET_FORM) += libform + ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) NCURSES_CONF_OPTS += --enable-widec NCURSES_LIB_SUFFIX = w @@ -76,11 +81,6 @@ NCURSES_POST_INSTALL_STAGING_HOOKS += NCURSES_LINK_STAGING_LIBS endif -NCURSES_LIBS-y = libncurses -NCURSES_LIBS-$(BR2_PACKAGE_NCURSES_TARGET_MENU) += libmenu -NCURSES_LIBS-$(BR2_PACKAGE_NCURSES_TARGET_PANEL) += libpanel -NCURSES_LIBS-$(BR2_PACKAGE_NCURSES_TARGET_FORM) += libform - ifneq ($(BR2_ENABLE_DEBUG),y) NCURSES_CONF_OPTS += --without-debug endif |