samba: fix pkgconfig

we build static. so current smbclient.pc is useless
This commit is contained in:
Stefan Saraev 2013-11-01 19:47:40 +02:00 committed by Stephan Raue
parent ec3f62a52b
commit ed9337d7df

View File

@ -155,6 +155,8 @@ post_make_target() {
cp ../source3/include/libsmbclient.h $SYSROOT_PREFIX/usr/include
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
# talloc/tdb/tevent/wbclient static
sed -e "s,^Libs: -lsmbclient$,Libs: -lsmbclient -ltalloc -ltdb -ltevent -lwbclient,g" -i pkgconfig/smbclient.pc
cp pkgconfig/smbclient.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
}