diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2017-12-16 14:59:37 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-12-18 11:25:06 +0100 |
commit | 0735b35dd0fe87285f85c0040dfcb53cec2d1bd9 (patch) | |
tree | 91f9836bba6c365a24846869317bec15f427c0ac /src/ppp/meson.build | |
parent | a58cde8d2c9595941067be7c79e03ad34463d63a (diff) | |
download | NetworkManager-0735b35dd0fe87285f85c0040dfcb53cec2d1bd9.tar.gz |
build: use template files for enum types' sources generation
Source files for enum types are generated by passing segments of the
source code of the files to the `glib-mkenums` command.
This patch removes those parameters where source code is used from
meson build files by moving those segmeents to template files.
https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00057.html
Diffstat (limited to 'src/ppp/meson.build')
-rw-r--r-- | src/ppp/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ppp/meson.build b/src/ppp/meson.build index 4203561bfe..36f9d5eb90 100644 --- a/src/ppp/meson.build +++ b/src/ppp/meson.build @@ -13,7 +13,7 @@ cflags = [ nm_pppd_plugin = shared_module( name, name_prefix: '', - sources: [name + '.c', libnm_core_enums_h], + sources: [name + '.c', libnm_core_enum[1]], include_directories: core_incs, dependencies: deps, c_args: cflags, |