mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
util-linux:init: build static
This commit is contained in:
parent
5da71dbb47
commit
6687ceb2cb
@ -91,7 +91,9 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-gtk-doc \
|
|||||||
--without-systemdsystemunitdir"
|
--without-systemdsystemunitdir"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_HOST="$PKG_CONFIGURE_OPTS_TARGET"
|
PKG_CONFIGURE_OPTS_HOST="$PKG_CONFIGURE_OPTS_TARGET"
|
||||||
PKG_CONFIGURE_OPTS_INIT="$PKG_CONFIGURE_OPTS_TARGET --disable-libsmartcols"
|
PKG_CONFIGURE_OPTS_INIT="$PKG_CONFIGURE_OPTS_TARGET \
|
||||||
|
--enable-static --disable-shared \
|
||||||
|
--disable-libsmartcols "
|
||||||
|
|
||||||
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
||||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-libsmartcols"
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-libsmartcols"
|
||||||
@ -128,7 +130,7 @@ post_makeinstall_init() {
|
|||||||
rm -rf $INSTALL/usr
|
rm -rf $INSTALL/usr
|
||||||
|
|
||||||
mkdir -p $INSTALL/sbin
|
mkdir -p $INSTALL/sbin
|
||||||
cp .libs/fsck $INSTALL/sbin
|
cp fsck $INSTALL/sbin
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install () {
|
post_install () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user