diff options
author | Emmanuele Bassi <ebassi@gmail.com> | 2018-04-09 21:35:57 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-09 23:35:57 +0300 |
commit | e103675a3995f799d65a90595c62ad7f0ed4a088 (patch) | |
tree | d4c68bd616b3be87c009c451705fe97f20e4d55d /mesonbuild/compilers | |
parent | 6dea1777743fe26173d9c674b0870790a7caae92 (diff) | |
download | meson-e103675a3995f799d65a90595c62ad7f0ed4a088.zip meson-e103675a3995f799d65a90595c62ad7f0ed4a088.tar.gz meson-e103675a3995f799d65a90595c62ad7f0ed4a088.tar.bz2 |
Never install the glib-mkenums generated C source (#3374)
* Never install the glib-mkenums generated C source
When using gnome.mkenums_simple() we end up installing the generated
C source file alongside the C header file, if `install_header` is set
to True. This is caused by mkenums_simple() acting as a wrapper for
mkenums() without template files; mkenums() won't be able to know if
we're generating the header or the source, and will use the presence
of `install_header` as the deciding factor as to whether the generated
file should be installed.
When generating the C source file, we should always unset the
`install_header` option to False, just like mkenums() expects.
Closes #3373
* Verify that mkenums_simple() does not install C sources
When asked to installed the generated C header file.
Diffstat (limited to 'mesonbuild/compilers')
0 files changed, 0 insertions, 0 deletions