mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
Meta: Don't assume all build commands have a target
For example, the "test" and "vcpkg" build commands do not.
This commit is contained in:
parent
61285ffbee
commit
6345ebb78c
|
|
@ -120,10 +120,11 @@ def main():
|
|||
print("ladybird.py must be run from a Visual Studio enabled environment", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if args.target == "ladybird":
|
||||
args.target = "Ladybird"
|
||||
if not args.target and args.command not in ("build", "rebuild"):
|
||||
args.target = "Ladybird"
|
||||
if "target" in args:
|
||||
if args.target == "ladybird":
|
||||
args.target = "Ladybird"
|
||||
if not args.target and args.command not in ("build", "rebuild"):
|
||||
args.target = "Ladybird"
|
||||
|
||||
(cc, cxx) = pick_host_compiler(platform, args.cc, args.cxx)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user