Changeset 71b4444 in mainline for meson/part/tools
- Timestamp:
- 2023-10-22T16:59:42Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 78f0422c, dd7df1c
- Parents:
- 590cb6d2 (diff), 2944b5a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
meson/part/tools/meson.build (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
meson/part/tools/meson.build
r590cb6d2 r71b4444 61 61 endif 62 62 63 # On some distributions (e.g. Arch Linux), genisoimage is actually a symbolic 64 # link to mkisofs. However, they do not accept exactly the same options. 65 # Thus we check if genisoimage is a symbolic link to mkisofs and if it is so, 66 # we switch to mkisofs as that is the native application available. 67 fs = import('fs') 63 68 genisoimage = find_program('genisoimage', required: false) 64 if genisoimage.found() 69 _mkisofs = find_program('mkisofs', required: false) 70 if genisoimage.found() and not (fs.is_symlink(genisoimage.full_path()) and _mkisofs.found() and fs.is_samepath(genisoimage.full_path(), _mkisofs.full_path())) 65 71 genisoimage_type = 'genisoimage' 66 72 else 67 genisoimage = find_program('mkisofs', required: false)73 genisoimage = _mkisofs 68 74 if genisoimage.found() 69 75 genisoimage_type = 'mkisofs'
Note:
See TracChangeset
for help on using the changeset viewer.
