Skip to content
Permalink
Browse files

ncurses: build host libraries with -fPIC

Since readline/host links ncurses/host now, we need to ensure that the
libncursesw.so host library is built with -fPIC.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • Loading branch information...
jow- committed Jan 22, 2019
1 parent eb31562 commit 5d1399788ac2bd0fe53b9b727ba38cf2060de8fc
Showing with 3 additions and 1 deletion.
  1. +3 −1 package/libs/ncurses/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=ncurses
PKG_VERSION:=6.1
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -76,6 +76,8 @@ CONFIGURE_ARGS += \
--enable-widec \
--with-build-cppflags=-D_GNU_SOURCE

HOST_CFLAGS += $(HOST_FPIC)

HOST_CONFIGURE_ARGS += \
--without-cxx \
--without-cxx-binding \

0 comments on commit 5d13997

Please sign in to comment.
You can’t perform that action at this time.