Modify install_name

pull/18436/head
Giles Payne 4 years ago
parent 098f07664d
commit 6a7df4e973
  1. 2
      platforms/ios/build_framework.py

@ -295,7 +295,7 @@ class Builder:
"-Xlinker", "/usr/lib/swift",
"-target", link_target,
"-isysroot", sdk_dir,
"-install_name", ("@executable_path/Frameworks/" + self.framework_name + ".framework/" + self.framework_name) if is_device else res,
"-install_name", "@rpath/" + self.framework_name + ".framework/" + self.framework_name,
"-dynamiclib", "-dead_strip", "-fobjc-link-runtime", "-all_load",
"-o", res
] + swift_link_dirs + bitcode_flags + module + libs + libs3)

Loading…
Cancel
Save