aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-10-18 18:38:16 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-10-18 18:38:58 +0100
commita6b9a05007942e05ba52b8488e9a278d5dc8ac5b (patch)
treee0f0598dc146607623a0f10a6aa302b32cc5f2b8
parentRevert "meson: add cxx bindings" (diff)
downloadefl-a6b9a05007942e05ba52b8488e9a278d5dc8ac5b.tar.gz
build - meson - fix install of generic loaders for evas to be exes
they were shared libs..... oops. :)
-rw-r--r--src/generic/evas/meson.build13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/generic/evas/meson.build b/src/generic/evas/meson.build
index 80a679b230..a6c924f90e 100644
--- a/src/generic/evas/meson.build
+++ b/src/generic/evas/meson.build
@@ -15,6 +15,11 @@ common = static_library('evas_loader_common',
dependencies: [generic_deps, rt],
)
+bin_ext=''
+if sys_exe_extension == ''
+ bin_ext='.'+sys_exe_extension
+endif
+
foreach loader : generic_loaders
generic_src = []
generic_deps = []
@@ -23,19 +28,17 @@ foreach loader : generic_loaders
if get_option('evas-loaders-disabler').contains(loader) == false
subdir(loader)
- tmp = shared_module('image_loader.'+loader,
+ tmp = executable('evas_image_loader.'+loader,
generic_src,
include_directories : config_dir + [include_directories('common')],
link_with : common,
dependencies: [eina, generic_deps],
- name_prefix : 'evas_',
install_dir : join_paths(dir_lib, 'evas', 'utils'),
install : true,
)
- set_variable(loader, tmp)
- mod = join_paths(dir_lib, 'evas', 'utils', 'evas_image_loader.'+loader+'.'+sys_mod_extension)
- evas_loader_map += [[mod, generic_support]]
+ bin = join_paths(dir_lib, 'evas', 'utils', 'evas_image_loader.'+loader+bin_ext)
+ evas_loader_map += [[bin, generic_support]]
else
message('Image loader '+loader+' disabled')
endif