Skip to content

Commit

Permalink
lcms2: add fPIC cflags
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Malaterre <[email protected]>
  • Loading branch information
malaterre committed May 19, 2017
1 parent 85cd1de commit 5ccff70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/devel/lcms2/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
--with-zlib --with-threads \
--without-jpeg --without-tiff"

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

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

0 comments on commit 5ccff70

Please sign in to comment.