Changeset 246945 in webkit


Ignore:
Timestamp:
Jun 28, 2019 3:50:41 PM (5 years ago)
Author:
dino@apple.com
Message:

unable to build WebRTC for iOS Simulator
https://bugs.webkit.org/show_bug.cgi?id=199337
<rdar://problem/52020841>

Reviewed by Tim Horton.

Run the compiled yasm with DYLD_ROOT_PATH=/
in order to convince dyld that it can load
the simulator binary on macOS.

  • libwebrtc.xcodeproj/project.pbxproj:
Location:
trunk/Source/ThirdParty/libwebrtc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/libwebrtc/ChangeLog

    r246892 r246945  
     12019-06-28  Dean Jackson  <dino@apple.com>
     2
     3        unable to build WebRTC for iOS Simulator
     4        https://bugs.webkit.org/show_bug.cgi?id=199337
     5        <rdar://problem/52020841>
     6
     7        Reviewed by Tim Horton.
     8
     9        Run the compiled yasm with DYLD_ROOT_PATH=/
     10        in order to convince dyld that it can load
     11        the simulator binary on macOS.
     12
     13        * libwebrtc.xcodeproj/project.pbxproj:
     14
    1152019-06-27  Beth Dakin  <bdakin@apple.com>
    216
  • trunk/Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj

    r246358 r246945  
    33763376                        filePatterns = asm;
    33773377                        fileType = sourcecode.asm.asm;
     3378                        inputFiles = (
     3379                        );
    33783380                        isEditable = 1;
    33793381                        outputFiles = (
    33803382                                "${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.o",
    33813383                        );
    3382                         script = "${BUILT_PRODUCTS_DIR}/yasm -fmacho64 -I ${SRCROOT}/Source/third_party/libvpx/source/config -I ${SRCROOT}/Source/third_party/libvpx/source/config/mac/x64 -I ${SRCROOT}/Source/third_party/libvpx/source/libvpx -o ${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.o ${INPUT_FILE_DIR}/${INPUT_FILE_BASE}.asm\n";
     3384                        script = "# This DYLD_ROOT_PATH hack is there to allow the yasm binary to run on macOS if it was built for another platform (e.g. iphonesimulator) - rdar://52020841 and rdar://50479465\nDYLD_ROOT_PATH=/ ${BUILT_PRODUCTS_DIR}/yasm -fmacho64 -I ${SRCROOT}/Source/third_party/libvpx/source/config -I ${SRCROOT}/Source/third_party/libvpx/source/config/mac/x64 -I ${SRCROOT}/Source/third_party/libvpx/source/libvpx -o ${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.o ${INPUT_FILE_DIR}/${INPUT_FILE_BASE}.asm\n";
    33833385                };
    33843386/* End PBXBuildRule section */
Note: See TracChangeset for help on using the changeset viewer.