Skip to content

Commit

Permalink
readline: add fPIC cflags
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Malaterre <malat@debian.org>
  • Loading branch information
malaterre committed May 19, 2017
1 parent 00490bf commit 93aad73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/devel/readline/package.mk
Expand Up @@ -38,6 +38,10 @@ PKG_CONFIGURE_OPTS_TARGET="bash_cv_wcwidth_broken=no \
--with-curses \
--without-purify"

pre_configure_target() {
CFLAGS="$CFLAGS -fPIC"
}

post_makeinstall_target() {
rm -rf $INSTALL/usr/share/readline
}

0 comments on commit 93aad73

Please sign in to comment.