[libgnome-volume-control/wip/inigomartinez/meson: 7/8] build: Remove the include directory variable
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-volume-control/wip/inigomartinez/meson: 7/8] build: Remove the include directory variable
- Date: Sat, 27 Jan 2018 09:10:17 +0000 (UTC)
commit 756226a902e6fc2933e9ce5c0d7c52f4e61d11df
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Sat Jan 27 09:49:17 2018 +0100
build: Remove the include directory variable
The variable which holds the current directory is not necessary
because this is already included when building the library.
However, it might be interessant for any package using the library
to include the directory where headers are present, so the
current directory is appended to the library dependency without
the include directory variable.
https://bugzilla.gnome.org/show_bug.cgi?id=792948
meson.build | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index 0d16eea..ff75f29 100644
--- a/meson.build
+++ b/meson.build
@@ -14,8 +14,6 @@ cdata = configuration_data()
cdata.set_quoted('GETTEXT_PACKAGE', get_option('package_name'))
cdata.set_quoted('PACKAGE_VERSION', get_option('package_version'))
-libgvc_inc = include_directories('.')
-
libgvc_gir_headers = [
'gvc-channel-map.h',
'gvc-mixer-card.h',
@@ -76,7 +74,6 @@ endif
libgvc = library('gvc',
sources: libgvc_gir_sources + libgvc_no_gir_sources,
- include_directories: libgvc_inc,
dependencies: libgvc_deps,
c_args: c_args,
install_rpath: pkgdatadir,
@@ -111,7 +108,7 @@ endif
libgvc_dep = declare_dependency(
link_with: libgvc,
- include_directories: libgvc_inc,
+ include_directories: include_directories('.'),
dependencies: libgvc_deps
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]