The "extra" libraries want to go in a magic order when static linking,
and probing them in parallel makes that awkward, so if there are any
pass --start-group and --end-group to the linker so it actually
resolves crosstalk between them.
diff --git a/scripts/make.sh b/scripts/make.sh
index 512fdc7..de849f8 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -69,6 +69,8 @@
       echo -l$i &
   done | sort | xargs
 )
+# Actually resolve dangling dependencies in extra libraries when static linking
+[ -n "$LIBRARIES" ] && LIBRARIES="-Wl,--start-group $LIBRARIES -Wl,--end-group"
 
 [ -z "$VERSION" ] && [ -d ".git" ] && [ -n "$(which git 2>/dev/null)" ] &&
   VERSION="$(git describe --tags --abbrev=12 2>/dev/null)"