diff --git a/pages/common/pkg-config.md b/pages/common/pkg-config.md index 0dd0cb0f1f..72ad3f5293 100644 --- a/pages/common/pkg-config.md +++ b/pages/common/pkg-config.md @@ -11,6 +11,10 @@ `pkg-config --cflags --libs {{library1 library2 ...}}` +- Print the version of the linked modules: + +`pkg-config --modversion {{module1 module2 ...}}` + - Compile your code with libgtk-3, libwebkit2gtk-4.0 and all their dependencies: `c++ example.cpp $(pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0) -o example`