💾 Archived View for freeshell.de › tldr › pkg-config.gmi captured on 2023-11-04 at 12:46:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

pkg-config

Provide the details of installed libraries for compiling applications.

More information.

pkg-config --libs {library1 library2 ...}
pkg-config --cflags --libs {library1 library2 ...}
c++ example.cpp $(pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0) -o example
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY