On 5/24/23 10:14, Viresh Kumar wrote:
On 24-05-23, 10:09, Erik Schilling wrote:
I am not exactly sure if I understood the above comment correctly. But
if we want to eventually be able to consume gpiosim-sys via crates.io
(or any packaging mechanism that relies on cargo package), then we will
need to decouple the header and .so file referencing in a similar way.
The easiest solution for me seems to be to just add a pkg-config file
for gpiosim and use the same mechanism that I sketched for libgpiod-sys
here.
Yes we would like to get gpiosim via crates.io as well.
Would simply adding a pkg-config for the gpiosim C lib be desirable?
Then we can use the same mechanism. There is none existing at the
moment. I am not sure whether that is intentional or just not done yet.
- Erik