Let's meson found the compile_resource.py script.

Add the INSTALL_DIR/bin dir to the path and allow meson to found installed
binaries.
This commit is contained in:
Matthieu Gautier 2016-12-23 13:09:24 +01:00
parent c8e7610ca9
commit c60040e92c
1 changed files with 1 additions and 0 deletions

View File

@ -292,6 +292,7 @@ class MesonMixin(MakeMixin):
if env['PKG_CONFIG_PATH']
else pj(options.install_dir, options.libprefix, 'pkgconfig')
)
env['PATH'] = ':'.join([pj(options.install_dir, 'bin'), env['PATH']])
if options.build_static:
env['LDFLAGS'] = env['LDFLAGS'] + " -static-libstdc++ --static"
library_type = 'static'