= note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu//libX11.a(Font.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

I'm getting this linkin error on Rust:

= note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu//libX11.a(Font.o): relocation R_X86_64_PC32 against symbolstderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC`

I'm using gtk3-rs (GitHub - gtk-rs/gtk3-rs: Provides Rust bindings for GTK libraries) which I believe it's what is including libX11.a, but I don't know how to get to the bottom of this issue.