ros2 control - linking system libraries in hardware_interface
I have a ros2 control hardware interface which outputs to the system GPIOs. I'm currently using the libgpiod library, although the exact library isn't relevant.
The library is installed in the system (header file and .so file) and I can compile and run test scripts for controlling the GPIOs using g++ outside of ros.
As far as I'm aware, hardware interfaces are just compiled to libraries then loaded dynamically? How do I make the ros2 controller link a system library like libgpiod when it runs this specific interface?