Skip to content

cmake: libcurl.pc uses absolute library paths #6169

Closed

Description

@reddwarf69

The libcurl.pc file generated by cmake contains things like Libs.private: /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so. The autotools equivalent would say Libs.private: -lssl -lcrypto -lz.

Not sure of the implications. But I guess it would affect, for example, somebody who wants to use also a static version of libz.

Activity

  1. reddwarf69 commented on Nov 4, 2020

    @reddwarf69
    ContributorAuthor

    FWIW I am personally using https://github.com/RedDwarf69/curl/tree/cmake. I'm not creating PRs because I have not tried to make it ready for that (e.g I'm increasing the minimum required cmake version... and I have no idea how much you want to keep cmake 3.2 support).
    I'm solving this with reddwarf69@291e6ee

  2. added a commit that references this issue on Nov 18, 2020
    4c9a753
  3. added a commit that references this issue on Mar 6, 2024
    cd0e3e0
  4. added a commit that references this issue on Mar 7, 2024
    296e855
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions