User avatar
Ammie v_ammie @AmmieNyami@social.ammienyami.com
8mo
re: Programming @Hothrin you should link with the library you wanna use with the -l flag

for example, if you wanna link with
libm.so, you should specify -lm

some libraries require you to specify other flags too. in that case, you can use
pkg-config --cflags <name of the library> to get the flags required, and pkg-config --libs <name of the library> to get the necessary -l flags

meow :3