Skip to content

Commit

Permalink
Resolve some symbol issues for xcodebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hyatt committed Mar 17, 2019
1 parent 439fc98 commit 4274c64
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion cmake/use_ld64.cmake
Expand Up @@ -55,7 +55,10 @@ FUNCTION(use_ld64 target)
-Wl,-dylib_file,/usr/lib/libbz2.1.0.dylib:${CMAKE_BINARY_DIR}/src/external/bzip2/libbz2.1.0.dylib \
-Wl,-dylib_file,/usr/lib/libssl.0.9.8.dylib:${CMAKE_BINARY_DIR}/src/external/openssl/src/libssl.0.9.8.dylib \
-Wl,-dylib_file,/usr/lib/libcrypto.0.9.8.dylib:${CMAKE_BINARY_DIR}/src/external/openssl/src/libcrypto.0.9.8.dylib \
-Wl,-dylib_file,/usr/lib/native/libGL.dylib:${CMAKE_BINARY_DIR}/src/native/libGL.dylib ")
-Wl,-dylib_file,/usr/lib/native/libGL.dylib:${CMAKE_BINARY_DIR}/src/native/libGL.dylib \
-Wl,-dylib_file,/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage:${CMAKE_BINARY_DIR}/src/CoreImage/CoreImage \
-Wl,-dylib_file,/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo:${CMAKE_BINARY_DIR}/src/CoreVideo/CoreVideo \
")

add_dependencies(${target} x86_64-apple-darwin11-ld)

Expand Down
2 changes: 2 additions & 0 deletions src/CoreServices/constants.m
Expand Up @@ -26,6 +26,8 @@
const CFStringRef kUTTypePDF = CFSTR("com.adobe.pdf");
const CFStringRef kUTTypeSourceCode = CFSTR("public.source-code");
const CFStringRef kUTTypeSwiftSource = CFSTR("public.swift-source");
const CFStringRef kUTTypeText = CFSTR("public.text");
const CFStringRef kUTTypeFramework = CFSTR("com.apple.framework");

const CFStringRef _kLSASNKey = CFSTR("LSASN");
const CFStringRef _kLSApplicationTypeKey = CFSTR("ApplicationType");
Expand Down
2 changes: 1 addition & 1 deletion src/external/cocotron

0 comments on commit 4274c64

Please sign in to comment.