mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
iptables: build as static library
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
719f9bfa6b
commit
be98231768
@ -29,8 +29,8 @@ cd $PKG_BUILD
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--with-kernel="$SYSROOT_PREFIX/usr" \
|
||||
|
||||
make V=1
|
||||
|
@ -22,18 +22,8 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libxtables/.libs/libxtables.so* $INSTALL/usr/lib/
|
||||
cp -P $PKG_BUILD/libiptc/.libs/libip4tc.so* $INSTALL/usr/lib/
|
||||
cp -P $PKG_BUILD/libiptc/.libs/libip6tc.so* $INSTALL/usr/lib/
|
||||
cp -P $PKG_BUILD/libiptc/.libs/libiptc.so* $INSTALL/usr/lib/
|
||||
rm -rf $INSTALL/usr/lib/libiptc.so*T
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/xtables
|
||||
cp -P $PKG_BUILD/extensions/.libs/*.so* $INSTALL/usr/lib/xtables
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp -P $PKG_BUILD/iptables/.libs/xtables-multi $INSTALL/usr/sbin
|
||||
cp -P $PKG_BUILD/iptables/xtables-multi $INSTALL/usr/sbin
|
||||
ln -sf /usr/sbin/xtables-multi $INSTALL/usr/sbin/ip6tables
|
||||
ln -sf /usr/sbin/xtables-multi $INSTALL/usr/sbin/ip6tables-restore
|
||||
ln -sf /usr/sbin/xtables-multi $INSTALL/usr/sbin/ip6tables-save
|
||||
|
Loading…
x
Reference in New Issue
Block a user