After adding gtk3-rs to my project, I get a linking error:
= 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
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
I think this is probably because I'm building a shared library instead of a binary. Is there a way to make libx11 be linked dynamically? I tried to understand the build.rs system but couldn't find any linkage of x11
After adding gtk3-rs to my project, I get a linking error:
I think this is probably because I'm building a shared library instead of a binary. Is there a way to make libx11 be linked dynamically? I tried to understand the build.rs system but couldn't find any linkage of x11