summaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-05-18 09:48:17 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-18 09:51:48 +0100
commit3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930 (patch)
tree3b3b3329e8419ddb8021ddc4cca2f52d391b939d /src/benchmarks
parentfe56edae3f5015c62e319d5e2ab2552d3533eead (diff)
Fix EAPI definition by defining EFL_BUILD for each built DLL
Summary: EAPI must be defined to dllexport when building DLL, and to dllimport when using these DLL. To achieve this, define EFL_BUILD for each library and module, and set DLL_EXPORT unconditionally. Static library are and will be not supported Test Plan: compilation Reviewers: zmike, raster, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11834
Diffstat (limited to '')
-rw-r--r--src/benchmarks/eina/meson.build2
-rw-r--r--src/benchmarks/elementary/meson.build1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/benchmarks/eina/meson.build b/src/benchmarks/eina/meson.build
index 9b924dd1b9..2c3d40013e 100644
--- a/src/benchmarks/eina/meson.build
+++ b/src/benchmarks/eina/meson.build
@@ -31,7 +31,7 @@ city = shared_library('city',
31eina_bench = executable('eina_bench', 31eina_bench = executable('eina_bench',
32 sources : eina_bench_src, 32 sources : eina_bench_src,
33 dependencies : eina, 33 dependencies : eina,
34 c_args : ['-fPIC','-DCITYHASH_BENCH', '-DEINA_ENABLE_BENCH_E17'], 34 c_args: ['-fPIC','-DCITYHASH_BENCH', '-DEINA_ENABLE_BENCH_E17', '-DEFL_BUILD'],
35 include_directories : config_dir, 35 include_directories : config_dir,
36 link_with : city, 36 link_with : city,
37) 37)
diff --git a/src/benchmarks/elementary/meson.build b/src/benchmarks/elementary/meson.build
index 8cb1b99057..d174a93433 100644
--- a/src/benchmarks/elementary/meson.build
+++ b/src/benchmarks/elementary/meson.build
@@ -10,6 +10,7 @@ benchmark('focus_widget_tree', focus_widget_tree_bench,
10 10
11item_container = executable('collection', 11item_container = executable('collection',
12 'collection.c', 12 'collection.c',
13 c_args: ['-DEFL_BUILD'],
13 dependencies: [elementary, ecore_input_evas, eio], 14 dependencies: [elementary, ecore_input_evas, eio],
14) 15)
15 16