Closed phkrl closed 3 years ago
These stub symbols probably don't need to depend on each other. I tested with only {};
on all of them and they still work as expected.
I was building arcan recently, and it required versioning on each symbols rather than the whole library. I had to replace libudev.sym with the one from systemd repo to make it work (it complained with /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libusb-1.0.so: undefined reference to 'udev_enumerate_add_match_property@LIBUDEV_183'
with stub symbol versions).
This might be something to consider too when adding symbol versioning compatibility to libudev-zero.
@Rio6 could you check if adding *; to LIBUDEV_183 definition fixes the issue?
Yep that works!
some libs expect particular version >183