Package all libraries provided by Conan.
This commit is contained in:
parent
755402f400
commit
b9d662a5a0
@ -25,10 +25,10 @@ chrpath -d $DEB_BUILD_ROOT/*
|
|||||||
|
|
||||||
# TODO: get Qt from Conan if building without system Qt
|
# TODO: get Qt from Conan if building without system Qt
|
||||||
|
|
||||||
# hack: we get libnode.so.108 from conan-libs folder, because the dpkg command at the end of this file cannot always find libnode
|
# Hack: Create libnode.so from libnode.so.108
|
||||||
cp $OVERTE/build/conanlibs/Release/libnode.so.108 $DEB_BUILD_ROOT
|
# We don't fail on error, in case libnode is provided by the system already.
|
||||||
# hack: we get libttb.so.12 from conan-libs folder, because the dpkg command at the end of this file cannot always find libtbb12
|
ln -s $OVERTE/build/conanlibs/Release/libnode.so.* $OVERTE/build/conanlibs/Release/libnode.so || True
|
||||||
cp $OVERTE/build/conanlibs/Release/libttb.so.12 $DEB_BUILD_ROOT
|
cp $OVERTE/build/conanlibs/Release/*.so $DEB_BUILD_ROOT
|
||||||
|
|
||||||
strip --strip-all $DEB_BUILD_ROOT/*
|
strip --strip-all $DEB_BUILD_ROOT/*
|
||||||
cp $OVERTE/pkg-scripts/new-server $DEB_BUILD_ROOT
|
cp $OVERTE/pkg-scripts/new-server $DEB_BUILD_ROOT
|
||||||
|
@ -13,9 +13,12 @@ VERSION=${RPMVERSION//-}
|
|||||||
|
|
||||||
# TODO: Handle Qt built by Conan
|
# TODO: Handle Qt built by Conan
|
||||||
|
|
||||||
|
# Hack: Create libnode.so from libnode.so.108
|
||||||
|
# We don't fail on error, in case libnode is provided by the system already.
|
||||||
|
ln -s $OVERTE/build/conanlibs/Release/libnode.so.* $OVERTE/build/conanlibs/Release/libnode.so || True
|
||||||
SOFILES=`ls \
|
SOFILES=`ls \
|
||||||
$OVERTE/build/libraries/*/*.so \
|
$OVERTE/build/libraries/*/*.so \
|
||||||
$OVERTE/build/conanlibs/Release/libnode.so* \
|
$OVERTE/build/conanlibs/Release/*.so \
|
||||||
| sed 's/\./\\\./g' \
|
| sed 's/\./\\\./g' \
|
||||||
| paste -d'|' -s`
|
| paste -d'|' -s`
|
||||||
|
|
||||||
@ -24,8 +27,7 @@ DEPENDS=mesa-libGL,`ls \
|
|||||||
$OVERTE/build/domain-server/domain-server \
|
$OVERTE/build/domain-server/domain-server \
|
||||||
$OVERTE/build/tools/oven/oven \
|
$OVERTE/build/tools/oven/oven \
|
||||||
$OVERTE/build/libraries/*/*.so \
|
$OVERTE/build/libraries/*/*.so \
|
||||||
$OVERTE/build/conanlibs/Release/libnode.so* \
|
$OVERTE/build/conanlibs/Release/*.so \
|
||||||
$OVERTE/build/conanlibs/Release/libtbb.so* \
|
|
||||||
$OVERTE/build/assignment-client/plugins/*.so \
|
$OVERTE/build/assignment-client/plugins/*.so \
|
||||||
$OVERTE/build/assignment-client/plugins/*/*.so \
|
$OVERTE/build/assignment-client/plugins/*/*.so \
|
||||||
| xargs -I {} sh -c 'objdump -p {} | grep NEEDED' \
|
| xargs -I {} sh -c 'objdump -p {} | grep NEEDED' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user