mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
samba: fix pkgconfig
we build static. so current smbclient.pc is useless
This commit is contained in:
parent
ec3f62a52b
commit
ed9337d7df
@ -155,6 +155,8 @@ post_make_target() {
|
|||||||
cp ../source3/include/libsmbclient.h $SYSROOT_PREFIX/usr/include
|
cp ../source3/include/libsmbclient.h $SYSROOT_PREFIX/usr/include
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
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
|
cp pkgconfig/smbclient.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user