pkg-config --static (mingw/msys2)
If I use the command pkg-config --libs --static pastix
then I have this output:
-LC:/msys64/mingw64/lib -lpastix -lpastix_kernels -lpastix_starpu -lC:/msys64/mingw64/lib/libm.a -lC:/msys64/mingw64/lib/libopenblas.dll.a -lspm C:/msys64/mingw64/lib/libopenblas.dll.a\;C:/msys64/mingw64/lib/libm.a\;C:/msys64/mingw64/lib/libopenblas.dll.a -lstarpu-1.3 -lpthread -lssp -g0 -lws2_32 -lpthread -LD:/a/msys64/mingw64/lib -lm -lgdi32 -lltdl -lpthread -lhwloc -lm -lgdi32 -lltdl -lpthread -LC:/msys64/mingw64/lib -lspm C:/msys64/mingw64/lib/libopenblas.dll.a\;C:/msys64/mingw64/lib/libm.a\;C:/msys64/mingw64/lib/libopenblas.dll.a
Why is the libopenblas.dll.a
version referenced for static linking rather than the usual -lopenblas
(i.e. the libopenblas.a full static link)?