Skip to content

pkg-config module points to wrong path #1084

@fiolj

Description

@fiolj

Description

Hi, after installing stdlib I've found a couple of inconsistencies (bugs?) with pkg-config that result in stdlib not working with my programs using Make when following the instructions

  1. The file fortran_stdlib.pc is installed in:
    $(install_dir)/lib64/pkgconfig
    instead of
    $(install_dir)/lib/pkgconfig
    as stated in the README.md

  2. In the contents of fortran_stdlib.pc reads:
    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 don't know the workings of cmake to see if efectively is a bug, and how to correct it.

Expected Behaviour

The installation working with the instructions in README.md

Version of stdlib

f0ad91d

Platform and Architecture

Fedora 43

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions