ncurses: install lib on host build
authorAndy Walsh <andy.walsh44+github@gmail.com>
Thu, 26 Jul 2018 08:34:33 +0000 (10:34 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 09:17:05 +0000 (10:17 +0100)
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
(backported from 1639ebcb061abb3664e0b80f62f0019e37fda68e)

package/libs/ncurses/Makefile

index 95f05fa7115f6cf5b242a0bf2b6f94de0f671bc0..94c968816fdfb866df13ecb12be541af0a981a0f 100644 (file)
@@ -164,6 +164,8 @@ endef
 
 define Host/Install
        $(INSTALL_BIN) $(HOST_BUILD_DIR)/progs/tic $(STAGING_DIR_HOST)/bin/tic
+       $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/lib/
+       $(INSTALL_DATA) $(HOST_BUILD_DIR)/lib/libncurses.a $(STAGING_DIR_HOSTPKG)/lib/
 endef
 
 $(eval $(call HostBuild))