Threaded perl programs can go over musl's default stack size, so setting a bigger one in LDFLAGS is necessary to avoid segfaults. This segfault was observed when using gscan2pdf to open an image. Also xlint.