linux-crt
linux-crt copied to clipboard
makefile should be modify
add content to Makefile CFLAGS += -I/usr/include/glib-2.0/ CFLAGS += -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ CFLAGS += -I/usr/include/gtk-3.0/ CFLAGS += -fPIC
These two lines should add necessary flags when compiling the shared library:
https://github.com/ilammy/linux-crt/blob/f21b7f5e688b297f105818e6085bfc806b8bb7f9/Makefile#L22-L23
Please make sure that you have pkg-config installed.