Index: third_party/class-dump/class-dump.gyp |
diff --git a/third_party/class-dump/class-dump.gyp b/third_party/class-dump/class-dump.gyp |
index be3a15c13ec01fec87e596e4741d08142b84ef4a..340b460c813839e6a403e0ede8eda66d17657584 100644 |
--- a/third_party/class-dump/class-dump.gyp |
+++ b/third_party/class-dump/class-dump.gyp |
@@ -171,25 +171,16 @@ |
'src/Source/NSString-CDExtensions.m', |
'src/Source/cd_objc2.h', |
], |
- 'variables': { |
- 'developer_dir': '<!(xcode-select -print-path)', |
- 'xcode_version': '<!(xcodebuild -version | awk \'/Xcode/ {print $2}\')', |
+ 'link_settings': { |
+ 'libraries': [ |
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
+ ], |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': [ |
+ '-lcrypto', |
+ ] |
+ }, |
}, |
- 'conditions': [ |
- ['xcode_version>="7.0"', { |
- 'variables': { |
- 'dynamic_library_extension': 'tbd', |
- }, |
- }, { # else: xcode_version<"7.0" |
- 'variables': { |
- 'dynamic_library_extension': 'dylib', |
- }, |
- }] |
- ], |
- 'libraries': [ |
- '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
- '$(SDKROOT)/usr/lib/libcrypto.<(dynamic_library_extension)', |
- ], |
'include_dirs': [ |
'src/Source', |
], |