diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-03-07 23:07:49 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-03-07 23:07:49 +0100 |
commit | 346cf08d741e5880d1afae1f0aafc89983f09039 (patch) | |
tree | c1ed1d97398f966f8b05136c880c107e6c0f3aa6 /build/osx/OSConsX.py | |
parent | fc38ae98f6b3db2e5276209b5f026feb948a8e9a (diff) |
build/osx/OSConsX: Fix a few more issues
Diffstat (limited to 'build/osx/OSConsX.py')
-rw-r--r-- | build/osx/OSConsX.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/build/osx/OSConsX.py b/build/osx/OSConsX.py index e3cd077828..aa61f8a7cf 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,9 @@ 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 + # 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 +615,7 @@ 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) + # 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: |