Set @rpath in AppRTCMobile for macOS.
Without this, the application can't find the WebRTC dynamic library when started from the built app bundle (debugging in Xcode worked). Bug: webrtc:10111 Change-Id: I1610948aae070fe9938e873ce073e05ba7255c7d Reviewed-on: https://webrtc-review.googlesource.com/c/113805 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Anders Carlsson <andersc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25949}
This commit is contained in:

committed by
Commit Bot

parent
1c7f5f63d1
commit
24d8ec3dbb
@ -579,6 +579,11 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
|
||||
|
||||
libs = [ "AppKit.framework" ]
|
||||
|
||||
ldflags = [
|
||||
"-rpath",
|
||||
"@executable_path/../Frameworks",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":AppRTCMobile_lib",
|
||||
"../sdk:mac_framework_bundle",
|
||||
|
Reference in New Issue
Block a user