diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-01-07 18:48:37 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2019-01-07 18:48:37 +0100 |
commit | b788f975b3ca7f092cb906c66722326fac43c281 (patch) | |
tree | debc2f59e0deb14cf5ccbb1772013a9f9356e17c /gir/meson.build | |
parent | d020c524bad9a9e26b124b85a356d3858b03cab7 (diff) | |
download | gobject-introspection-b788f975b3ca7f092cb906c66722326fac43c281.tar.gz |
meson: use underscore as a separator in build options
This is what https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting suggests.
Diffstat (limited to 'gir/meson.build')
-rw-r--r-- | gir/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gir/meson.build b/gir/meson.build index 227af4f8..6b372b74 100644 --- a/gir/meson.build +++ b/gir/meson.build @@ -1,6 +1,6 @@ cairo_conf = configuration_data() -if get_option('cairo-libname') != '' - cairo_library_name = get_option('cairo-libname') +if get_option('cairo_libname') != '' + cairo_library_name = get_option('cairo_libname') elif host_machine.system() == 'win32' cairo_library_name = 'libcairo-gobject-2.dll' elif host_machine.system() == 'darwin' @@ -98,7 +98,7 @@ if dep_type == 'pkgconfig' endif glib_headers = ret.stdout().strip().split('\n') # Get a list of all source files - glib_srcdir = get_option('glib-src-dir') + glib_srcdir = get_option('glib_src_dir') if glib_srcdir != '' ret = run_command(python, '-c', globber.format(join_paths(glib_srcdir, 'glib', '*.c'))) if ret.returncode() != 0 |