RESOLVED WONTFIX 170092
Statically link libwebrtc
https://bugs.webkit.org/show_bug.cgi?id=170092
Summary Statically link libwebrtc
Alex Christensen
Reported 2017-03-24 17:52:51 PDT
Enough of this libwebrtc.dylib nonsense. It isn't worth having a complicated production build system that only one person understands.
Attachments
patch (24.70 KB, patch)
2017-03-24 17:54 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2017-03-24 17:54:43 PDT
Joseph Pecoraro
Comment 2 2017-03-24 20:08:07 PDT
Comment on attachment 305346 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=305346&action=review > Source/WebCore/ChangeLog:12 > + * Configurations/WebCoreTestSupport.xcconfig: Should this eliminate the code in Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp that attempts to dlopen("libwebrtc.dylib")?
mitz
Comment 3 2017-03-24 20:44:41 PDT
I believe that there are Apple-internal reasons for libwebrtc being a dylib, seen in <rdar://problem/30470169&30470847>.
youenn fablet
Comment 4 2017-03-24 20:45:40 PDT
I would do that if we cannot upstream the WEBRTC_DYLIB_EXPORT changes to libwebrtc. Given where we are, I do not have a strong opinion, although that would simplify the build system which is a good thing. Also, if we are doing so, the webcore binary size will increase a bit. Some code would be removed like webrtAvailable check.
Maciej Stachowiak
Comment 5 2017-03-24 21:13:44 PDT
We need to discuss the Apple-internal implications (not in these bug comments, but Apple-internally) before we make the call on this.
Note You need to log in before you can comment on or make changes to this bug.