mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
Merge pull request #1950 from lrusak/fpic
build some more packages with fPIC
This commit is contained in:
commit
67a5449773
@ -38,6 +38,7 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_strlcat=no \
|
|||||||
--without-python"
|
--without-python"
|
||||||
|
|
||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
|
CFLAGS="$CFLAGS -fPIC"
|
||||||
sed "s|@prefix@|$SYSROOT_PREFIX/usr|g" -i $PKG_BUILD/dnet-config.in
|
sed "s|@prefix@|$SYSROOT_PREFIX/usr|g" -i $PKG_BUILD/dnet-config.in
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,4 +31,8 @@ PKG_LONGDESC="The mtdev is a stand-alone library which transforms all variants o
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
|
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
CFLAGS="$CFLAGS -fPIC"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user