[gnome-disk-utility] build: Remove PACKAGE_DATA_DIR macro definition



commit 0d488dfbdc23275a136e02ca3b2fdc6aba5860b0
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sun Jul 7 00:10:53 2019 +0200

    build: Remove PACKAGE_DATA_DIR macro definition
    
    `PACKAGE_DATA_DIR` is defined using compiler arguments. However,
    this define is not used anymore.
    
    This has been removed from the arguments passed to the compiler.

 src/disk-image-mounter/meson.build | 1 -
 src/disks/meson.build              | 1 -
 src/libgdu/meson.build             | 1 -
 3 files changed, 3 deletions(-)
---
diff --git a/src/disk-image-mounter/meson.build b/src/disk-image-mounter/meson.build
index 521caae2..bf9c3d31 100644
--- a/src/disk-image-mounter/meson.build
+++ b/src/disk-image-mounter/meson.build
@@ -6,7 +6,6 @@ deps = [
 ]
 
 cflags = [
-  '-DPACKAGE_DATA_DIR="@0@"'.format(gdu_prefix / gdu_datadir),
   '-DG_LOG_DOMAIN="@0@"'.format(name),
   '-DGNOMELOCALEDIR="@0@"'.format(gdu_prefix / gdu_localedir),
 ]
diff --git a/src/disks/meson.build b/src/disks/meson.build
index e85ab17b..aa308ddd 100644
--- a/src/disks/meson.build
+++ b/src/disks/meson.build
@@ -94,7 +94,6 @@ deps = [
 ]
 
 cflags = [
-  '-DPACKAGE_DATA_DIR="@0@"'.format(gdu_prefix / gdu_datadir),
   '-DG_LOG_DOMAIN="@0@"'.format(name),
   '-DGNOMELOCALEDIR="@0@"'.format(gdu_prefix / gdu_localedir),
 ]
diff --git a/src/libgdu/meson.build b/src/libgdu/meson.build
index 36bd128b..bf751c5a 100644
--- a/src/libgdu/meson.build
+++ b/src/libgdu/meson.build
@@ -23,7 +23,6 @@ if enable_logind
 endif
 
 cflags = [
-  '-DPACKAGE_DATA_DIR="@0@"'.format(gdu_prefix / gdu_datadir),
   '-DG_LOG_DOMAIN="libgdu"',
   '-DGNOMELOCALEDIR="@0@"'.format(gdu_prefix / gdu_localedir),
 ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]