79139356

Date: 2024-10-30 00:48:18
Score: 0.5
Natty:
Report link

basically libudev cannot be static library because it is part of systemd, and systemd does not seem to support static linking: your app might not work on other systems in that's the case. But if the goal is to remove the direct dependency on libudev, you can use dlopen/dlsym to load libudev.so functions, and the app may run without libudev at all. Take a look at my small wrapper for dynamically linking libudev, maybe it will be helpful: https://github.com/alexbsys/udev_dynamic_wrapper

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: alexb