Commit | Line | Data |
---|---|---|
5e0cbfb0 PP |
1 | --- |
2 | id: lttng-ust-pkg-config | |
3 | --- | |
4 | ||
5 | On some distributions, LTTng-UST is shipped with a pkg-config metadata | |
6 | file, so that you may use the `pkg-config` tool: | |
7 | ||
8 | <pre class="term"> | |
9 | pkg-config --libs lttng-ust | |
10 | </pre> | |
11 | ||
47bfcb75 | 12 | This prints `-llttng-ust -ldl` on Linux systems. |
5e0cbfb0 PP |
13 | |
14 | You may also check the LTTng-UST version using `pkg-config`: | |
15 | ||
16 | <pre class="term"> | |
17 | pkg-config --modversion lttng-ust | |
18 | </pre> | |
19 | ||
20 | For more information about pkg-config, see | |
5037eb52 | 21 | <a href="http://linux.die.net/man/1/pkg-config" class="ext">its man page</a>. |