Changed it to only include the libusb/libudev flags/libs that are needed, based on the selected hidapi implementation. Added a forgotten -fpic flag to make the shared library actually work. Added removal of an existing .a file to ensure it gets rebuilt properly.
Changed it to only include the libusb/libudev flags/libs that are needed,
based on the selected hidapi implementation.
Added a forgotten -fpic flag to make the shared library actually work.
Added removal of an existing .a file to ensure it gets rebuilt properly.

edorfaus/TEMPered,JuanKman94/TEMPered,JuanKman94/TEMPered,edorfaus/TEMPered