mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
samba: build as static library, disable debug support, build without sqlite support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8fc3d3e130
commit
97af26f6ec
@ -157,6 +157,7 @@ fi
|
||||
|
||||
if [ "$SAMBA_CLIENT" = yes ]; then
|
||||
XBMC_SAMBA="--enable-samba"
|
||||
export LIBS="$LIBS -ltalloc -ltdb -lwbclient"
|
||||
else
|
||||
XBMC_SAMBA="--disable-samba"
|
||||
fi
|
||||
|
@ -130,6 +130,7 @@ fi
|
||||
|
||||
if [ "$SAMBA_CLIENT" = yes ]; then
|
||||
XBMC_SAMBA="--enable-samba"
|
||||
export LIBS="$LIBS -ltalloc -ltdb -lwbclient"
|
||||
else
|
||||
XBMC_SAMBA="--disable-samba"
|
||||
fi
|
||||
|
@ -148,6 +148,7 @@ fi
|
||||
|
||||
if [ "$SAMBA_CLIENT" = yes ]; then
|
||||
XBMC_SAMBA="--enable-samba"
|
||||
export LIBS="$LIBS -ltalloc -ltdb -lwbclient"
|
||||
else
|
||||
XBMC_SAMBA="--disable-samba"
|
||||
fi
|
||||
|
@ -130,6 +130,7 @@ fi
|
||||
|
||||
if [ "$SAMBA_CLIENT" = yes ]; then
|
||||
XBMC_SAMBA="--enable-samba"
|
||||
export LIBS="$LIBS -ltalloc -ltdb -lwbclient"
|
||||
else
|
||||
XBMC_SAMBA="--disable-samba"
|
||||
fi
|
||||
|
@ -40,9 +40,9 @@ sh autogen.sh
|
||||
--sysconfdir=/etc \
|
||||
--with-configdir=/etc/samba \
|
||||
--with-privatedir=/var/run \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-debug \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--disable-debug \
|
||||
--disable-krb5developer \
|
||||
--disable-picky-developer \
|
||||
--enable-largefile \
|
||||
@ -51,9 +51,9 @@ sh autogen.sh
|
||||
--disable-swat \
|
||||
--disable-cups \
|
||||
--disable-iprint \
|
||||
--enable-pie \
|
||||
--enable-relro \
|
||||
--enable-shared-libs \
|
||||
--disable-pie \
|
||||
--disable-relro \
|
||||
--disable-shared-libs \
|
||||
--disable-external-libtalloc \
|
||||
--disable-external-libtdb \
|
||||
--disable-fam \
|
||||
@ -64,9 +64,9 @@ sh autogen.sh
|
||||
--disable-netapi \
|
||||
--disable-dmalloc \
|
||||
--with-fhs \
|
||||
--without-libtalloc \
|
||||
--without-libtdb \
|
||||
--without-libnetapi \
|
||||
--with-libtalloc \
|
||||
--with-libtdb \
|
||||
--with-libnetapi \
|
||||
--with-libsmbclient \
|
||||
--with-libsmbsharemodes \
|
||||
--without-libaddns \
|
||||
@ -98,20 +98,14 @@ sh autogen.sh
|
||||
--with-included-popt \
|
||||
--with-included-iniparser \
|
||||
--with-libiconv="$SYSROOT_PREFIX/usr" \
|
||||
--with-sqlite3 \
|
||||
--without-sqlite3 \
|
||||
--with-pthreads \
|
||||
--without-setproctitle \
|
||||
|
||||
make bin/libsmbclient.so
|
||||
|
||||
if [ "$SAMBA_SERVER" = yes ]; then
|
||||
make bin/smbd
|
||||
make bin/nmbd
|
||||
make bin/smbpasswd
|
||||
fi
|
||||
make
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||
cp -P bin/*.so* $SYSROOT_PREFIX/usr/lib
|
||||
cp -P bin/*.a $SYSROOT_PREFIX/usr/lib
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||
cp include/libsmbclient.h $SYSROOT_PREFIX/usr/include
|
||||
|
@ -22,9 +22,6 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/source3/bin/*.so* $INSTALL/usr/lib
|
||||
|
||||
if [ "$SAMBA_SERVER" = "yes" ]; then
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/source3/bin/smbd $INSTALL/usr/bin
|
||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.samba.org"
|
||||
PKG_URL="http://samba.org/samba/ftp/stable/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="$ICONV sqlite connman"
|
||||
PKG_BUILD_DEPENDS="toolchain $ICONV sqlite"
|
||||
PKG_DEPENDS="$ICONV connman"
|
||||
PKG_BUILD_DEPENDS="toolchain $ICONV"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="network"
|
||||
PKG_SHORTDESC="samba: The free SMB / CIFS fileserver and client"
|
||||
|
Loading…
x
Reference in New Issue
Block a user