diff options
author | Bruce Richardson <bruce.richardson@intel.com> | 2017-06-26 17:15:24 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-29 11:03:20 -0400 |
commit | f12ece4547f7882027e7ebd916a5e5de13129ce8 (patch) | |
tree | 17142898f92459d21c884e1f8d805decc6250bfc /docs/markdown/Pkgconfig-module.md | |
parent | ba3871985a145ccd5aa92317cfd26b08966e8d6f (diff) | |
download | meson-f12ece4547f7882027e7ebd916a5e5de13129ce8.zip meson-f12ece4547f7882027e7ebd916a5e5de13129ce8.tar.gz meson-f12ece4547f7882027e7ebd916a5e5de13129ce8.tar.bz2 |
pkgconfig: add support for extra_cflags
Allow the user to pass in arbitrary cflags for putting into the generated
pkgconfig file.
Diffstat (limited to 'docs/markdown/Pkgconfig-module.md')
-rw-r--r-- | docs/markdown/Pkgconfig-module.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/markdown/Pkgconfig-module.md b/docs/markdown/Pkgconfig-module.md index 6b9a968..2424421 100644 --- a/docs/markdown/Pkgconfig-module.md +++ b/docs/markdown/Pkgconfig-module.md @@ -20,4 +20,5 @@ The generated file's properties are specified with the following keyword argumen - `requires_private` list of strings to put in the `Requires.private` field - `libraries_private` list of strings to put in the `Libraries.private` field - `install_dir` the directory to install to, defaults to the value of option `libdir` followed by `/pkgconfig` +- `extra_cflags` a list of extra compiler flags to be added to the `Cflags` field after the header search path - `variables` a list of strings with custom variables to add to the generated file. The strings must be in the form `name=value` and may reference other pkgconfig variables, e.g. `datadir=${prefix}/share`. The names `prefix`, `libdir` and `installdir` are reserved and may not be used. |