Hacker ApprovedDepartments

pkg-config

Ranked 14 of 17 build systems by recommenders

People recommend it for generating compiler and linker flags for installed libraries, which simplifies adding C libraries to projects and Makefiles. One critic says it is comparing apples to oranges.

People recommend it for generating compiler and linker flags for installed libraries, which simplifies adding C libraries to projects and Makefiles. One critic says it is comparing apples to oranges.

8 people gave an opinion

recommend it
7
criticize it
1
approval share
88%
Each figure is one person. RecommendsCriticizes

Recommended in 6 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 7 people recommend itNeeds 10 or more, not met.
  • 7 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 6 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Generates library compile and link flags

    “Especially with tools like pkg-config that let you generate the set of flags for a package.”

    Comment from 8 May 2026 in “Maybe you shouldn't install new software for a bit”

    “I never found it hard to add a C library to my projects using pkg-config.”

    Comment from 1 Nov 2025 in “Hard Rust requirements from May onward”
  • Simplifies library handling in Makefiles

    “Especially with tools like pkg-config that let you generate the set of flags for a package.”

    Comment from 8 May 2026 in “Maybe you shouldn't install new software for a bit”

    “you can add a bit of syntactic sugar to your Makefile and have that mostly handled for you”

    Comment from 25 Nov 2025 in “APT Rust requirement raises questions”

Other build systems people recommend

The four most recommended other build systems, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

pkg-config compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Bazel794166%123 yrs3 owners—
GNU Make764264%12——
CMake589338%12——
Apache Maven444251%12——
pkg-configThis page7188%6——
See all 17 build systems, ranked

What people said

6 of the 8 comments that mention it, newest first. Each links to the original comment.

“Especially with tools like pkg-config that let you generate the set of flags for a package.”

RecommendsComment from 8 May 2026 in “Maybe you shouldn't install new software for a bit”

“autotools and pkgconfig is fine.”

RecommendsComment from 28 Jan 2026 in “The C-Shaped Hole in Package Management”

“It's incredibly convenient.”

RecommendsComment from 13 Dec 2025 in “Go is portable, until it isn't”

“pkg-config is comparing apples to oranges”

CriticizesComment from 25 Nov 2025 in “APT Rust requirement raises questions”

“you can add a bit of syntactic sugar to your Makefile and have that mostly handled for you”

RecommendsComment from 25 Nov 2025 in “APT Rust requirement raises questions”

“I never found it hard to add a C library to my projects using pkg-config.”

RecommendsComment from 1 Nov 2025 in “Hard Rust requirements from May onward”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.