I had some linking issue on my Arch Linux machine.
Global variables in runtime.h will be defined multiple times if the header is included twice. I moved the definitions to main.c and used extern explicitly in runtime.h to avoid this linking issue.
I also added some build instructions for libunistring on Arch Linux, along with some makefile fixes.
I had some linking issue on my Arch Linux machine.
Global variables in
runtime.h
will be defined multiple times if the header is included twice. I moved the definitions tomain.c
and usedextern
explicitly inruntime.h
to avoid this linking issue.I also added some build instructions for
libunistring
on Arch Linux, along with some makefile fixes.