For GNU/Linux system, I have created this config.nims to statically link pcre using musl. See [https://github.com/kaushalmodi/hello_musl](https://github.com/kaushalmodi/hello_musl).
Clone it (on a GNU/Linux system with musl-gcc installed) and simply run `nim musl -d:pcre src/hello_musl_pcre.nim`.
