summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-23 22:26:37 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-03-24 12:47:20 (GMT)
commitaf23d762e51be20f812b9d958268843ae4e369cb (patch)
tree2e564d613097bae6a3e1d15bfa4de4fb08f54130
parentfad8177bb33f2e7750efbd365d4431cabf7d0396 (diff)
downloadbuildroot-af23d762e51be20f812b9d958268843ae4e369cb.tar.gz
buildroot-af23d762e51be20f812b9d958268843ae4e369cb.tar.bz2
ncurses: enable shared library build on the host
On the host, we generally build and install a shared library rather than a static version of libraries. In this specific case, we will want to build host-gettext, which builds a shared library that depends on ncurses. And this doesn't work well if ncurses is static because it hasn't been built with -fPIC. Therefore, let's build ncurses as shared on the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/ncurses/ncurses.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index c01dfbc..eb47c36 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -116,7 +116,7 @@ define HOST_NCURSES_BUILD_CMDS
endef
HOST_NCURSES_CONF_OPT = \
- --without-shared --without-gpm \
+ --with-shared --without-gpm \
--without-manpages \
--without-cxx \
--without-cxx-binding \