diff options
author | Patrick Griffis <tingping@tingping.se> | 2017-10-26 16:48:38 -0400 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-03-10 19:05:19 +0530 |
commit | 0a96d6c9d27b4c70cb3e8d7ab66a354c85c9279d (patch) | |
tree | cf0f3b6cc7af381c7bb92a26c56d6f673d0a50ba /gir | |
parent | a7c4e3d4636e917f60cf1c16c70fa3ff29695e6e (diff) | |
download | gobject-introspection-0a96d6c9d27b4c70cb3e8d7ab66a354c85c9279d.tar.gz |
Allow setting custom cairo-gobject libname
Diffstat (limited to 'gir')
-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 4086bffe..5229207d 100644 --- a/gir/meson.build +++ b/gir/meson.build @@ -1,12 +1,12 @@ cairo_conf = configuration_data() -if host_machine.system() == 'win32' - # TODO: Might not use libtool name +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' cairo_library_name = 'libcairo-gobject.2.dylib' else cairo_library_name = 'libcairo-gobject.so.2' -# TODO: OpenBSD = libcairo-gobject.so endif cairo_conf.set('CAIRO_SHARED_LIBRARY', cairo_library_name) |