Skip to content

gdlib.pc: use Requires instead of Libs when possible #303

Closed

Description

@DimStar77

gdlib.pc adds a list of libraries to add the linker command lines, which seems a bit 'strange'.

Wouldn't it be more natural to add the required dependencies to the .pc Requires: field?

Activity

  1. DimStar77 commented on Sep 17, 2016

    @DimStar77
    Author

    (a positive side effect of this would be for downstream package maintainers to gain the feature of automatic dependency generation based on the .pc file )

  2. changed the title [-]sub-optimal content in gdlib.pc[/-] [+]gdlib.pc: use Requires instead of Libs when possible[/+] on Sep 19, 2016
  3. vapier commented on Sep 19, 2016

    @vapier
    Member

    should be possible. i don't think the distro/dep graph part is that useful in practice.

  4. added 5 commits that reference this issue on Oct 30, 2019
    6f06b4d
    c311cf8
    53fc275
    54e6fcf
    5cc7629
  5. added 5 commits that reference this issue on Nov 28, 2019
    532f931
    5533f07
    74fa886
    cfb7d27
    29ae477
  6. added a commit that references this issue on Jul 13, 2025
    28ecfe7
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