[babl] meson: move pkgconfig after subdir defining babl
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] meson: move pkgconfig after subdir defining babl
- Date: Tue, 6 Aug 2019 12:40:43 +0000 (UTC)
commit f43a06f2b7d7f070b02ec72de7c146e30d0b2cfc
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Aug 6 14:35:01 2019 +0200
meson: move pkgconfig after subdir defining babl
Use the meson pkgconfig generator after the babl library object has
been defined.
meson.build | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/meson.build b/meson.build
index fe1cc3bcf..c971e7cc4 100644
--- a/meson.build
+++ b/meson.build
@@ -358,21 +358,6 @@ configure_file(
configuration: conf
)
-# pkg-config file
-pkgconfig.generate(filebase: 'babl',
- name: 'babl',
- description: 'Dynamic, any to any, pixel format conversion library',
- version: meson.project_version(),
- libraries: [
- '-l' + lib_name,
- ],
- libraries_private: [
- '-lm', '-lpthread',
- ],
- subdirs: [
- lib_name,
- ],
-)
################################################################################
# Subdirs
@@ -400,3 +385,18 @@ if w3m_bin.found() and build_docs
capture: true,
)
endif
+
+
+# pkg-config file
+pkgconfig.generate(filebase: 'babl',
+ name: 'babl',
+ description: 'Dynamic, any to any, pixel format conversion library',
+ version: meson.project_version(),
+ libraries: [ babl ],
+ libraries_private: [
+ '-lm',
+ ],
+ subdirs: [
+ lib_name,
+ ],
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]