From ae543adbd1cddfc6fbadb564c3be46c71beb6e5f Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Fri, 16 Nov 2018 10:24:43 -0600 Subject: [PATCH] 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 --- src/lib/ector/software/meson.build | 20 +++++++++++--------- 1 file 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([ 'ector_software_buffer.c', ]) -if cpu_sse3 == true - ector_opt = static_library('ector_opt', - sources: [ 'ector_software_gradient_sse3.c' ], - dependencies: ector_pub_deps + [triangulator, freetype, draw, m] + ector_deps, - include_directories: config_dir + [ include_directories('..') ], - c_args: ector_opt_c_args, - ) - ector_opt_lib += [ ector_opt ] -endif pub_eo_files = [ 'ector_software_surface.eo', @@ -43,6 +34,17 @@ foreach eo_file : pub_eo_files '-gchd', '@INPUT@']) endforeach + +if cpu_sse3 == true + ector_opt = static_library('ector_opt', + sources: pub_eo_file_target + [ 'ector_software_gradient_sse3.c' ], + dependencies: ector_pub_deps + [triangulator, freetype, draw, m] + ector_deps, + include_directories: config_dir + [ include_directories('..') ], + c_args: ector_opt_c_args, + ) + ector_opt_lib += [ ector_opt ] +endif + install_data(pub_eo_files, install_dir: join_paths(eolian_include_dir, package_version_name) )