qtinterfaceframework: fix example packaging

Multiple examples provide the same library which causes packaging failure:
ERROR: qtinterfaceframework-6.4.0-r0 do_package: qtinterfaceframework-examples: Multiple shlib providers for libInstrumentCluster.so

Add the library to PRIVATE_LIBS, since it's only used by the examples.

Change-Id: If09bc7d235171b2b844ec579f6affa6fbe3f8a6d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 90a8c72bed)
This commit is contained in:
Samuli Piippo 2022-04-28 06:34:09 +00:00
parent df7b1d2039
commit ac964348f6

View File

@ -41,6 +41,8 @@ FILES:${PN}-refapi-vehiclefuntions = "\
DEPENDS += "qtbase qtinterfaceframework-native"
PRIVATE_LIBS:${PN}-examples = "libInstrumentCluster.so"
PACKAGECONFIG ?= "ifcodegen remoteobjects interfaceframework \
${PACKAGECONFIG_REFERENCE_API} \
${PACKAGECONFIG_SIMULATION} \