linux-crt icon indicating copy to clipboard operation
linux-crt copied to clipboard

makefile should be modify

Open ytfrdfiw opened this issue 5 years ago • 1 comments

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

ytfrdfiw avatar May 19 '20 08:05 ytfrdfiw

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.

ilammy avatar May 19 '20 08:05 ilammy