Revert "samba: build libsmbclient as shared lib"

This reverts commit 04dcb1c43e5a9223a578a01e8ebd13b4b2aa0649.
This commit is contained in:
Stephan Raue 2013-05-28 16:16:12 +02:00
parent 89040561c3
commit 980ea40710
3 changed files with 9 additions and 6 deletions

View File

@ -181,6 +181,7 @@ fi
if [ "$SAMBA_CLIENT" = yes ]; then if [ "$SAMBA_CLIENT" = yes ]; then
XBMC_SAMBA="--enable-samba" XBMC_SAMBA="--enable-samba"
export LIBS="$LIBS -ltalloc -ltdb -lwbclient"
else else
XBMC_SAMBA="--disable-samba" XBMC_SAMBA="--disable-samba"
fi fi

View File

@ -22,6 +22,8 @@
. config/options $1 . config/options $1
CFLAGS="$CFLAGS -fPIC -DPIC"
cd $PKG_BUILD/source3 cd $PKG_BUILD/source3
sh autogen.sh sh autogen.sh
@ -55,7 +57,7 @@ samba_cv_have_setresuid=yes \
--with-piddir=/var/run \ --with-piddir=/var/run \
--enable-shared \ --enable-shared \
--disable-static \ --disable-static \
--enable-shared-libs \ --disable-shared-libs \
--disable-debug \ --disable-debug \
--with-libiconv="$SYSROOT_PREFIX/usr" \ --with-libiconv="$SYSROOT_PREFIX/usr" \
--disable-krb5developer \ --disable-krb5developer \
@ -115,14 +117,17 @@ samba_cv_have_setresuid=yes \
--without-sqlite3 \ --without-sqlite3 \
--without-setproctitle \ --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 if [ "$SAMBA_SERVER" = "yes" ]; then
make bin/samba_multicall make bin/samba_multicall
fi fi
mkdir -p $SYSROOT_PREFIX/usr/lib 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 mkdir -p $SYSROOT_PREFIX/usr/include
cp include/libsmbclient.h $SYSROOT_PREFIX/usr/include cp include/libsmbclient.h $SYSROOT_PREFIX/usr/include

View File

@ -22,9 +22,6 @@
. config/options $1 . config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/source3/bin/*.so* $INSTALL/usr/lib
if [ "$SAMBA_SERVER" = "yes" ]; then if [ "$SAMBA_SERVER" = "yes" ]; then
mkdir -p $INSTALL/usr/bin mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/source3/bin/samba_multicall $INSTALL/usr/bin cp $PKG_BUILD/source3/bin/samba_multicall $INSTALL/usr/bin