[gnome-usage] build: Do not include absolute paths
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage] build: Do not include absolute paths
- Date: Thu, 20 Apr 2017 14:09:41 +0000 (UTC)
commit 58aefe4f82d130bbc6f013e6f4eec590a463e850
Author: Felipe Borges <felipeborges gnome org>
Date: Thu Apr 20 12:00:10 2017 +0200
build: Do not include absolute paths
The meson.build file is including libgtop-2.0 from a absolute
path. This is not recommended because it makes the application
dependent on environments which rely on these directory structures.
These might not work in different distros or even on a sandbox.
https://bugzilla.gnome.org/show_bug.cgi?id=781521
src/meson.build | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index e9f338a..0be535a 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -55,7 +55,6 @@ usage = executable('gnome-usage',
vala_sources,
resources,
c_args : [ '-DVERSION="' + meson.project_version() + '"',
'-DGETTEXT_PACKAGE="gnome-usage"', '-DGNOMELOCALEDIR="' + get_option('prefix') + '/' +
get_option('localedir') + '"' ],
- include_directories : include_directories('/usr/include/libgtop-2.0'),
vala_args: vala_args,
install: true,
dependencies : [glib, gobject, gio, gtk, rg, egg, math, gtop])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]