diff options
author | Nicola Murino | 2019-12-08 21:19:26 +0100 |
---|---|---|
committer | Nicola Murino | 2019-12-08 21:19:26 +0100 |
commit | 787b3df407aeec6255bebf59960881312039db9c (patch) | |
tree | ae03b7752adb2179dbd58ac08df49a92319ba7d2 /toolchain_generator.py | |
parent | dd344c749391da36d80b58ee17b6b123f9169468 (diff) | |
download | aur-787b3df407aeec6255bebf59960881312039db9c.tar.gz |
add sys_root to the cross file and install meson-cross-file-generator
Diffstat (limited to 'toolchain_generator.py')
-rwxr-xr-x | toolchain_generator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain_generator.py b/toolchain_generator.py index 0ef4e5e9dab0..75e8e34539b3 100755 --- a/toolchain_generator.py +++ b/toolchain_generator.py @@ -45,6 +45,7 @@ class CrossFileGenerator: def get_properties_section(self): return {'root':"'{}'".format(self.arch), + 'sys_root':"'/usr/{}'".format(self.arch), 'c_args':[f for f in self.cflags.split(" ") if f], 'cpp_args':[f for f in self.cxxflags.split(" ") if f], 'c_link_args':[f for f in self.ldflags.split(" ") if f], @@ -70,7 +71,7 @@ if __name__ == '__main__': required.add_argument('--output-file', type=str, required=True, help='Write the generated cross file to this path') optional.add_argument('-h', '--help', action='help', default=argparse.SUPPRESS, help='show this help message and exit') - optional.add_argument("--need-exe-wrapper", dest='need_exe_wrapper', action='store_true', help="Add wine as exec wrapper") + optional.add_argument("--need-exe-wrapper", dest='need_exe_wrapper', action='store_true', help="Add wine as exe wrapper") args = parser.parse_args() generator = CrossFileGenerator(args.arch, args.output_file, args.need_exe_wrapper) generator.generate() |