summaryrefslogtreecommitdiff
path: root/src/lib/ephysics
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/ephysics
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/ephysics')
-rw-r--r--src/lib/ephysics/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ephysics/meson.build b/src/lib/ephysics/meson.build
index ad1a168ae5..158afa73e3 100644
--- a/src/lib/ephysics/meson.build
+++ b/src/lib/ephysics/meson.build
@@ -20,12 +20,14 @@ ephysics_src = [
20 'ephysics_world.cpp' 20 'ephysics_world.cpp'
21] 21]
22 22
23ephysics_c_args = package_c_args + [ '-DEFL_BUILD' ]
24
23ephysics_lib = library('ephysics', 25ephysics_lib = library('ephysics',
24 ephysics_src, 26 ephysics_src,
25 dependencies: ephysics_pub_deps + [m] + ephysics_deps, 27 dependencies: ephysics_pub_deps + [m] + ephysics_deps,
26 include_directories : config_dir + [include_directories('.')], 28 include_directories : config_dir + [include_directories('.')],
27 install: true, 29 install: true,
28 c_args : package_c_args, 30 c_args : ephysics_c_args,
29 version : meson.project_version() 31 version : meson.project_version()
30) 32)
31 33