mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 05:04:38 +03:00
Patch qmake as finalize process (#130)
* Patch qmake hard coded path with installed prefix(#100) * AP: Update tests - Test android target with 5.14.x - Test ios target on mac * Does not patch mac framework when android, ios and wasm * Update changelog * GHA: Update to run qmake to check patch - Check qmake works well if patched. Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -51,3 +51,7 @@ def altlink(url: str, alt: str, logger=None):
|
||||
# Return first priority item which is not blacklist in mirrors list,
|
||||
# if not found then return alt in default
|
||||
return next(filter(lambda mirror: not any(mirror.startswith(b) for b in blacklist), mirrors), alt)
|
||||
|
||||
|
||||
def versiontuple(v: str):
|
||||
return tuple(map(int, (v.split("."))))
|
||||
|
||||
Reference in New Issue
Block a user