summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-05-23 10:22:37 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-23 11:32:07 +0100
commit3ae68c497e8f9cab6a36b8546e16b111a20289ad (patch)
treec90be212eb70cf4fe5b21723e42e5a802e6532e2
parent5b4c0ee757f8da3de3abcfc92cb9684a60cad16a (diff)
downloadpango-3ae68c497e8f9cab6a36b8546e16b111a20289ad.tar.gz
meson: Remove the pango enums type from the sub-libraries
Sub-libraries need to be built after pango-enum-types.h has been generated; we already have a transitive dependency on the header through libpango_dep, so we do not need to add the header to the list of sources. This avoids symbols leaking in the sub-libraries.
-rw-r--r--pango/meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/pango/meson.build b/pango/meson.build
index 0a1101f6..93f2e79d 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -103,7 +103,7 @@ libpango = shared_library('pango-@0@'.format(pango_api_version),
libpango_dep = declare_dependency(link_with: libpango,
include_directories: pango_inc,
dependencies: pango_deps,
- sources: pango_enums)
+ sources: pango_enum_h)
if not meson.is_cross_build()
gir_args = [
@@ -157,7 +157,7 @@ if freetype_dep.found()
install_headers(pangoft2_headers, subdir: pango_api_path)
libpangoft2 = shared_library('pangoft2-@0@'.format(pango_api_version),
- sources: pangoft2_sources + [ pango_enum_h ],
+ sources: pangoft2_sources,
version: pango_libversion,
soversion: pango_soversion,
install: true,
@@ -208,7 +208,7 @@ if xft_dep.found()
install_headers(pangoxft_headers, subdir: pango_api_path)
libpangoxft = shared_library('pangoxft-@0@'.format(pango_api_version),
- sources: pangoxft_sources + [ pango_enum_h ],
+ sources: pangoxft_sources,
version: pango_libversion,
soversion: pango_soversion,
install: true,
@@ -266,7 +266,7 @@ if host_system == 'windows'
install_headers(pangowin32_headers, subdir: pango_api_path)
libpangowin32 = shared_library('pangowin32-@0@'.format(pango_api_version),
- sources: pangowin32_sources + [ pango_enum_h ],
+ sources: pangowin32_sources,
version: pango_libversion,
soversion: pango_soversion,
install: true,
@@ -333,7 +333,7 @@ if cairo_dep.found()
install_headers(pangocairo_headers, subdir: pango_api_path)
libpangocairo = shared_library('pangocairo-@0@'.format(pango_api_version),
- sources: pangocairo_sources + [ pango_enum_h ],
+ sources: pangocairo_sources,
version: pango_libversion,
soversion: pango_soversion,
install: true,