mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
samba:
- make avahi support optional - dont build with pam support
This commit is contained in:
parent
5747490818
commit
5826daa8b8
@ -3,7 +3,13 @@
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build avahi
|
||||
|
||||
if [ "$AVAHI_DAEMON" = yes ]; then
|
||||
$SCRIPTS/build avahi
|
||||
SMB_AVAHI="--enable-avahi"
|
||||
else
|
||||
SMB_AVAHI="--disable-avahi"
|
||||
fi
|
||||
|
||||
# samba fails to compile with GCC 4.5.0's link time optimization.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||
@ -24,7 +30,8 @@ cd $PKG_BUILD/source3
|
||||
--disable-static \
|
||||
--disable-pie \
|
||||
--disable-cups \
|
||||
--enable-avahi \
|
||||
$SMB_AVAHI \
|
||||
--without-pam \
|
||||
--without-ads \
|
||||
--with-libtalloc \
|
||||
--with-libtdb \
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install avahi
|
||||
[ "$AVAHI_DAEMON" = yes ] && $SCRIPTS/install avahi
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user