Skip to content

Commit

Permalink
QA: Solving multiple shlib providers
Browse files Browse the repository at this point in the history
This avoid installing so files in opendds-dev package.
The files are available in the opendds package.

E.g.:
    ERROR: opendds-dev: Multiple shlib providers for libACE.so.8.0.1: opendds-dev, opendds (used by files: /home/jan/projects/meta-opendds/build/tmp/work/core2-64-poky-linux/opendds/3.30.0/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/DCPS/Dispose/test)

Signed-off-by: Jan Vermaete <[email protected]>
  • Loading branch information
vermaete committed Oct 14, 2024
1 parent 334a4b1 commit 2f65843
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes-connectivity/opendds/opendds.inc
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ do_install:append:class-target() {
cp -r ${DDS_ROOT}/ACE_wrappers/lib ${D}${datadir}/DDS_ROOT/ACE_wrappers
cp ${DDS_ROOT}/ACE_wrappers/*.txt ${D}${datadir}/DDS_ROOT/ACE_wrappers

# remove all so files from DDS_ROOT to avoid packing them twice
# one in the opendds package and one in the opendds-dev package
find ${D}${datadir} -name '*\.so*' -exec rm -rf {} \;

if [ "${@bb.utils.contains("PACKAGECONFIG", "ishapes", "1", "0", d)}" = "1" ]; then
install -d ${D}${bindir}
install -m 0755 ${S}/examples/DCPS/ishapes/ishapes ${D}${bindir}/
Expand Down

0 comments on commit 2f65843

Please sign in to comment.