mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Revert "samba: build libsmbclient as shared lib"
This reverts commit 04dcb1c43e5a9223a578a01e8ebd13b4b2aa0649.
This commit is contained in:
parent
89040561c3
commit
980ea40710
@ -181,6 +181,7 @@ fi
|
||||
|
||||
if [ "$SAMBA_CLIENT" = yes ]; then
|
||||
XBMC_SAMBA="--enable-samba"
|
||||
export LIBS="$LIBS -ltalloc -ltdb -lwbclient"
|
||||
else
|
||||
XBMC_SAMBA="--disable-samba"
|
||||
fi
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||
|
||||
cd $PKG_BUILD/source3
|
||||
|
||||
sh autogen.sh
|
||||
@ -55,7 +57,7 @@ samba_cv_have_setresuid=yes \
|
||||
--with-piddir=/var/run \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-shared-libs \
|
||||
--disable-shared-libs \
|
||||
--disable-debug \
|
||||
--with-libiconv="$SYSROOT_PREFIX/usr" \
|
||||
--disable-krb5developer \
|
||||
@ -115,14 +117,17 @@ samba_cv_have_setresuid=yes \
|
||||
--without-sqlite3 \
|
||||
--without-setproctitle \
|
||||
|
||||
make bin/libsmbclient.so
|
||||
make bin/libtalloc.a
|
||||
make bin/libwbclient.a
|
||||
make bin/libtdb.a
|
||||
make bin/libsmbclient.a
|
||||
|
||||
if [ "$SAMBA_SERVER" = "yes" ]; then
|
||||
make bin/samba_multicall
|
||||
fi
|
||||
|
||||
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/samba_multicall $INSTALL/usr/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user