summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertise.dev>2020-05-04 22:50:29 -0300
committerFelipe Magno de Almeida <felipe@expertise.dev>2020-05-04 22:50:29 -0300
commitd40f4e87d9137e416a606a76336f3cbb3c56aeeb (patch)
tree62c21f73a363cb61fa4bc266a0bb1c8255b84d25
parent64964ed930ada3554fbf651940c09b3a77a8a6a2 (diff)
windows: Add PCRE_STATIC define to link with PCRE statically
-rw-r--r--src/lib/eina/meson.build2
-rw-r--r--src/lib/evil/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index d20513e544..a7017dfd66 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -407,7 +407,7 @@ else
407endif 407endif
408 408
409eina_lib = library('eina', sources, 409eina_lib = library('eina', sources,
410 c_args : ['-DEINA_BUILD'], 410 c_args : ['-DEINA_BUILD', '-DPCRE_STATIC'],
411 include_directories : config_dir, 411 include_directories : config_dir,
412 dependencies: eina_lib_deps, 412 dependencies: eina_lib_deps,
413 install: true, 413 install: true,
diff --git a/src/lib/evil/meson.build b/src/lib/evil/meson.build
index 46dbe2a0a0..52e37971cd 100644
--- a/src/lib/evil/meson.build
+++ b/src/lib/evil/meson.build
@@ -28,7 +28,7 @@ if target_machine.system() == 'windows'
28 evil_pub_deps = [psapi, ole32, ws2_32, secur32, uuid, pcre_dep, getopt_dep] 28 evil_pub_deps = [psapi, ole32, ws2_32, secur32, uuid, pcre_dep, getopt_dep]
29 29
30 evil_lib = library('evil', evil_src, 30 evil_lib = library('evil', evil_src,
31 c_args : ['-DEVIL_BUILD', '-DEVIL_DLL'], 31 c_args : ['-DEVIL_BUILD', '-DEVIL_DLL', '-DPCRE_STATIC'],
32 dependencies : evil_deps, 32 dependencies : evil_deps,
33 include_directories : [config_dir, 'unposix'], 33 include_directories : [config_dir, 'unposix'],
34 install: true, 34 install: true,