summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2020-03-08 01:15:42 +0100
committerGitHub <noreply@github.com>2020-03-08 01:15:42 +0100
commita48ff124169c32359c2784a94963893752009828 (patch)
tree2ffe3036eedb81cc5c71b33eaa72dc664190fe95 /build
parentce74a9cf090e807e7846b93ce5a95af2245ba8e4 (diff)
parent78a90a86f45b9e17dc2e163afff902427da08ab4 (diff)
Merge pull request #2536 from Holzhaus/scons-osx-python3
build/osx/OSConsX: Fix a few more issues
Diffstat (limited to 'build')
-rw-r--r--build/osx/OSConsX.py17
1 files changed, 10 insertions, 7 deletions
diff --git a/build/osx/OSConsX.py b/build/osx/OSConsX.py
index e3cd077828..1aa7da5f72 100644
--- a/build/osx/OSConsX.py
+++ b/build/osx/OSConsX.py
@@ -107,7 +107,8 @@ def build_dmg(target, source, env):
"""
# TODO: make emit_dmg emit that we are making the Dmg that we are making
- # since we are building into a single .dmg, coerce target to point at the actual name
+ # since we are building into a single .dmg, coerce target to point at the
+ # actual name
assert len(target) == 1
target = target[0]
@@ -343,7 +344,7 @@ def build_app(target, source, env):
binary_rpaths = otool.rpaths(str(binary))
otool_local_paths = binary_rpaths + otool_local_paths
for ref, path in otool.embed_dependencies(
- tr(binary), LOCAL=otool_local_paths, SYSTEM=otool_system_paths
+ str(binary), LOCAL=otool_local_paths, SYSTEM=otool_system_paths
):
locals[ref] = (path, embed_lib(path))
@@ -411,7 +412,7 @@ def build_app(target, source, env):
print("installing", real_p, "to", embedded_p)
# NOTE(rryan): p can be a symlink. we want to copy the binary it is
# pointing to. os.path.realpath does this for us.
- Execute(Copy(embedded_p, real_p)) #:/
+ Execute(Copy(embedded_p, real_p)) # :/
patch_lib(str(embedded_p))
@@ -504,9 +505,10 @@ def emit_app(target, source, env):
# idea: hide these in the env[]?
bundle = Dir(str(bundle)) # coerce the bundle target into being a Dir
contents = Dir(os.path.join(str(bundle), "Contents"))
- frameworks = Dir(
- os.path.join(str(contents), "Frameworks")
- ) # we put both frameworks and standard unix sharedlibs in here
+ # Following variable is unused
+ # frameworks = Dir(
+ # os.path.join(str(contents), "Frameworks")
+ # ) # we put both frameworks and standard unix sharedlibs in here
env["APP_RESOURCES"] = Dir(os.path.join(str(contents), "Resources"))
@@ -614,7 +616,8 @@ def do_codesign(target, source, env):
keychain = env.get("CODESIGN_KEYCHAIN", None)
keychain_password = env.get("CODESIGN_KEYCHAIN_PASSWORD", None)
- installer_identity = env.get("CODESIGN_INSTALLER_IDENTITY", None)
+ # Following variable is unused
+ # installer_identity = env.get("CODESIGN_INSTALLER_IDENTITY", None)
application_identity = env.get("CODESIGN_APPLICATION_IDENTITY", None)
entitlements = env.get("CODESIGN_ENTITLEMENTS", None)
if application_identity is not None: