libevdev: compile with -fPIC

This commit is contained in:
Stephan Raue 2014-08-25 22:10:02 +03:00
parent 51036bec18
commit 867c0cfa83

View File

@ -34,6 +34,10 @@ PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
pre_configure_target() {
export CFLAGS="$CFLAGS -fPIC -DPIC"
}
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
}