meson: pass correct PACKAGE_DATA_DIR
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 2 Oct 2019 17:03:58 +0000 (19:03 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Thu, 3 Oct 2019 21:10:11 +0000 (06:10 +0900)
Summary:
PACKAGE_DATA_DIR was set to the build dir instead to the elementary
specific data dir.

ref T8304

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8304

Differential Revision: https://phab.enlightenment.org/D10275

doc/meson.build

index 068554f..5598b18 100644 (file)
@@ -133,7 +133,7 @@ foreach widget_preview : widget_previews
       dependencies: elementary,
       build_by_default: false,
       c_args : [
-        '-DPACKAGE_DATA_DIR="'+meson.current_build_dir()+'"',
+        '-DPACKAGE_DATA_DIR="'+join_paths(meson.source_root(), 'data', 'elementary')+'"',
         '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
         '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"',
         '-DDOCW_DIR="'+meson.current_build_dir()+'"']