summaryrefslogtreecommitdiff
path: root/src/lib/efreet
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/lib/efreet
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 'src/lib/efreet')
-rw-r--r--src/lib/efreet/meson.build8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/efreet/meson.build b/src/lib/efreet/meson.build
index f438b02845..bc3f8f8d28 100644
--- a/src/lib/efreet/meson.build
+++ b/src/lib/efreet/meson.build
@@ -31,12 +31,14 @@ efreet_src = [
31efreet_deps = [eet, ecore, ecore_con, ecore_file, eo, efl, eina, emile, ecore_ipc, buildsystem,intl] 31efreet_deps = [eet, ecore, ecore_con, ecore_file, eo, efl, eina, emile, ecore_ipc, buildsystem,intl]
32efreet_pub_deps = [eina, eo, efl] 32efreet_pub_deps = [eina, eo, efl]
33 33
34efreet_c_args = package_c_args + [ '-DEFL_BUILD' ]
35
34efreet_lib = library('efreet', 36efreet_lib = library('efreet',
35 efreet_src, 37 efreet_src,
36 dependencies: efreet_pub_deps + [m] + efreet_deps, 38 dependencies: efreet_pub_deps + [m] + efreet_deps,
37 include_directories : config_dir + [include_directories('.')], 39 include_directories : config_dir + [include_directories('.')],
38 install: true, 40 install: true,
39 c_args : [package_c_args, '-DDATA_DIR="'+dir_data+'"'], 41 c_args : [efreet_c_args, '-DDATA_DIR="'+dir_data+'"'],
40 version : meson.project_version() 42 version : meson.project_version()
41) 43)
42 44
@@ -51,7 +53,7 @@ efreet_mime_lib = library('efreet_mime',
51 dependencies: efreet_pub_deps + [m, efreet, efreet_deps], 53 dependencies: efreet_pub_deps + [m, efreet, efreet_deps],
52 include_directories : config_dir + [include_directories('.')], 54 include_directories : config_dir + [include_directories('.')],
53 install: true, 55 install: true,
54 c_args : package_c_args, 56 c_args : efreet_c_args,
55 version : meson.project_version() 57 version : meson.project_version()
56) 58)
57 59
@@ -67,7 +69,7 @@ efreet_trash_lib = library('efreet_trash',
67 dependencies: efreet_pub_deps + [efreet, efreet_deps], 69 dependencies: efreet_pub_deps + [efreet, efreet_deps],
68 include_directories : config_dir + [include_directories('.')], 70 include_directories : config_dir + [include_directories('.')],
69 install: true, 71 install: true,
70 c_args : package_c_args, 72 c_args : efreet_c_args,
71 version : meson.project_version() 73 version : meson.project_version()
72) 74)
73 75