Skip to content

pkg-config reports incorrect library with Debug build: gcc/Linux #928

@ambitslix

Description

@ambitslix

pkg-config --libs reports benchmark and benchmark_main when in reality Debug builds end up as "libbenchmarkd.a" & "libbenchmark_maind.a". Solution is to configure benchmark.pc according to build type or just have the same name. Probably different build types should reside in different locations to avoid name collisions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wantednext-releasePRs or Issues that should be included in the next release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions