diff options
author | Rafael Kitover <rkitover@gmail.com> | 2018-02-18 16:06:27 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@alum.wpi.edu> | 2018-03-05 16:43:42 -0600 |
commit | a151316c7f926e7c5b2b711a5c97fc123f1d1c53 (patch) | |
tree | 650d046655a71a7d14a4530b5bedfee9345f3a18 /atspi/meson.build | |
parent | ef43d25c9ff499f14a9a7fa24ce2ac779fa52ae5 (diff) | |
download | at-spi2-core-a151316c7f926e7c5b2b711a5c97fc123f1d1c53.tar.gz |
support building a static library
Change the atspi library definition in meson.build to `library()`
instead of `shared_library()` so that when meson is called with
`--default-library static` a static library is built.
For this to work, also change the `declare_dependency()` in
`dbind/meson.build` to be a list of sources instead of a `link_with:`
`static_library()`.
https://bugzilla.gnome.org/show_bug.cgi?id=793762
Diffstat (limited to 'atspi/meson.build')
-rw-r--r-- | atspi/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atspi/meson.build b/atspi/meson.build index 0a8da852..17bfc459 100644 --- a/atspi/meson.build +++ b/atspi/meson.build @@ -67,7 +67,7 @@ atspi_enums = gnome.mkenums('atspi-enum-types', install_header: true) atspi_enum_h = atspi_enums[1] -atspi = shared_library('atspi', atspi_sources + atspi_enums, +atspi = library('atspi', atspi_sources + atspi_enums, version: soversion, soversion: soversion.split('.')[0], include_directories: [ root_inc, registryd_inc ], |