diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-11-16 10:24:43 -0600 |
---|---|---|
committer | Derek Foreman <derek.foreman.samsung@gmail.com> | 2018-11-16 10:24:43 -0600 |
commit | ae543adbd1cddfc6fbadb564c3be46c71beb6e5f (patch) | |
tree | dd1b4b1b645bebf049ac790a749981a48beaff72 /src/lib/ector/software/meson.build | |
parent | 372374382a127f11996c0383a023f077675c9158 (diff) |
meson: fix build break
Summary:
the optimization that is build here requries a few .eo.h files - so
ensure that they are generated before they are used.
This fixes the build of efl.
Reviewers: ManMower, raster
Reviewed By: ManMower
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7295
Diffstat (limited to '')
-rw-r--r-- | src/lib/ector/software/meson.build | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/lib/ector/software/meson.build b/src/lib/ector/software/meson.build index b0e710c416..b587ca9024 100644 --- a/src/lib/ector/software/meson.build +++ b/src/lib/ector/software/meson.build | |||
@@ -9,15 +9,6 @@ ector_src += files([ | |||
9 | 'ector_software_buffer.c', | 9 | 'ector_software_buffer.c', |
10 | ]) | 10 | ]) |
11 | 11 | ||
12 | if cpu_sse3 == true | ||
13 | ector_opt = static_library('ector_opt', | ||
14 | sources: [ 'ector_software_gradient_sse3.c' ], | ||
15 | dependencies: ector_pub_deps + [triangulator, freetype, draw, m] + ector_deps, | ||
16 | include_directories: config_dir + [ include_directories('..') ], | ||
17 | c_args: ector_opt_c_args, | ||
18 | ) | ||
19 | ector_opt_lib += [ ector_opt ] | ||
20 | endif | ||
21 | 12 | ||
22 | pub_eo_files = [ | 13 | pub_eo_files = [ |
23 | 'ector_software_surface.eo', | 14 | 'ector_software_surface.eo', |
@@ -43,6 +34,17 @@ foreach eo_file : pub_eo_files | |||
43 | '-gchd', '@INPUT@']) | 34 | '-gchd', '@INPUT@']) |
44 | endforeach | 35 | endforeach |
45 | 36 | ||
37 | |||
38 | if cpu_sse3 == true | ||
39 | ector_opt = static_library('ector_opt', | ||
40 | sources: pub_eo_file_target + [ 'ector_software_gradient_sse3.c' ], | ||
41 | dependencies: ector_pub_deps + [triangulator, freetype, draw, m] + ector_deps, | ||
42 | include_directories: config_dir + [ include_directories('..') ], | ||
43 | c_args: ector_opt_c_args, | ||
44 | ) | ||
45 | ector_opt_lib += [ ector_opt ] | ||
46 | endif | ||
47 | |||
46 | install_data(pub_eo_files, | 48 | install_data(pub_eo_files, |
47 | install_dir: join_paths(eolian_include_dir, package_version_name) | 49 | install_dir: join_paths(eolian_include_dir, package_version_name) |
48 | ) | 50 | ) |