mirror of
https://github.com/servo/servo.git
synced 2025-06-28 11:03:39 +01:00
Fix simpleservo binary check on macos
This commit is contained in:
parent
74f1eb199e
commit
d767191230
1 changed files with 6 additions and 1 deletions
|
@ -373,7 +373,12 @@ class CommandBase(object):
|
|||
base_path = path.join(base_path, target)
|
||||
|
||||
if simpleservo:
|
||||
binary_name = "simpleservo.dll" if sys.platform == "win32" else "libsimpleservo.so"
|
||||
if sys.platform == "win32":
|
||||
binary_name = "simpleservo.dll"
|
||||
elif sys.platform == "darwin":
|
||||
binary_name = "libsimpleservo.dylib"
|
||||
else:
|
||||
binary_name = "libsimpleservo.so"
|
||||
|
||||
release_path = path.join(base_path, "release", binary_name)
|
||||
dev_path = path.join(base_path, "debug", binary_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue