linux4sam / egt

Ensemble Graphics Toolkit - Modern C++ GUI Toolkit for AT91/SAMA5 Microprocessors
https://ensemble.graphics
Apache License 2.0
63 stars 25 forks source link

link libudev for udev_unref and udev_new #1

Closed kraj closed 4 years ago

kraj commented 4 years ago

These APIs are used in inputlibinput.cpp which is only compile when HAVE_LIBINPUT is enabled

This shows up when linking with gold linker

../../src/.libs/libegt.so: error: undefined reference to 'udev_new' ../../src/.libs/libegt.so: error: undefined reference to 'udev_unref' collect2: error: ld returned 1 exit status Makefile:558: recipe for target 'camera' failed make[4]: *** [camera] Error 1

Signed-off-by: Khem Raj raj.khem@gmail.com

joshua-henderson commented 4 years ago

Thanks. Merged.