From 9fdbb8b574338d100e09a90c9a5a9619945930af Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 23 Dec 2016 13:09:24 +0100 Subject: [PATCH] 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. --- scripts/kiwix-builder/kiwix-builder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kiwix-builder/kiwix-builder.py b/scripts/kiwix-builder/kiwix-builder.py index 0505752..8717d42 100755 --- a/scripts/kiwix-builder/kiwix-builder.py +++ b/scripts/kiwix-builder/kiwix-builder.py @@ -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'