Compilation fails because of -rpath=/usr/local/lib in this makefile. Unfortunately, the path is needed so ld can link libwebsockets to the reader prorgam.
To fix the error, just remove -Wl, -rpath=/usr/local/lib from the reader target in the makefile I linked above.
Compilation fails because of
-rpath=/usr/local/libin this makefile. Unfortunately, the path is needed so ld can link libwebsockets to thereaderprorgam.To fix the error, just remove
-Wl, -rpath=/usr/local/libfrom the reader target in the makefile I linked above.