Changes in meson/part/tools/meson.build [cebd956:145a13b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/part/tools/meson.build
rcebd956 r145a13b 61 61 endif 62 62 63 # On some distributions (e.g. Arch Linux), genisoimage is actually a symbolic64 # 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')68 63 genisoimage = find_program('genisoimage', required: false) 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())) 64 if genisoimage.found() 71 65 genisoimage_type = 'genisoimage' 72 66 else 73 genisoimage = _mkisofs67 genisoimage = find_program('mkisofs', required: false) 74 68 if genisoimage.found() 75 69 genisoimage_type = 'mkisofs'
Note:
See TracChangeset
for help on using the changeset viewer.