Hi, after installing stdlib I’ve found a couple of inconsistencies (bugs?) with pkg-config that result in stdlib not “working with my programs” exactly as expected when using Make. When following the instructions I’ve found that:
-
The file
fortran_stdlib.pcis installed in:
$(install_dir)/lib64/pkgconfig
instead of
$(install_dir)/lib/pkgconfig
as stated in the README.md. It can be “solved” but would be nice to fix the installation. -
In the contents of
fortran_stdlib.pcreads:
moduledir=${prefix}/include/fortran_stdlib/GNU-15.2.1
but in order to make it work I had to modify it to read:
moduledir=${prefix}/include/fortran_stdlib/GNU-15.2.1/fortran_stdlib
I think that the file fortran_stdlib.pc is correct but there is an extra folder “fortran_stdlib” in the installation path.
I don’t know the workings of cmake to see if efectively is a bug, and how to correct it. I’ve opened an issue in the repository page.