dinghy
dinghy copied to clipboard
.pc files are created with the name of the platform
they should be named against the libraries instead
steps to reproduce :
- create a platform definition named
device
- create an overlay named 'mylib' with no *.pc and just one lib
- watch dinghy generating a pc for named
device.pc
instead ofmylib.pc
mitigation :
- always create a pc file for each overlay
- renamed and move the generated pc files to the overlay
@mtrey Can you please post your directory structure of the overlays and the .pc files. I am facing a similar issue and cant get around it. TIA
here is the correct structure
picopi
platform definition in .dinghy/dinghy.toml
[platforms.picopi]
rustc_triple='armv7-unknown-linux-gnueabihf'
and the overlay for the platform picopi
find .dinghy/overlay/picopi
.dinghy/overlay/picopi/tensorflow
.dinghy/overlay/picopi/tensorflow/tensorflow.pc
.dinghy/overlay/picopi/tensorflow/libtensorflow.so