Commit Graph

392 Commits

Author SHA1 Message Date
Davide De Rosa 2262160df5 Fix ld MIN_SDK for simulator targets
ld complains about mixing device and simulator objects in the
tvOS target. Reason is that "tvos_version_min" seems to imply a
device target, whereas simulator must use "tvos_simulator_version_min"
instead.

The stupid part of it is that ld displays a warning in iOS:

ld: warning: URGENT: -ios_version_min is invalid for architecture
x86/x86_64, inferring -ios_simulator_version_min. This will be an error
in the future.

whereas stops abruptly in tvOS:

ld: building for tvOS, but linking in object file built for tvOS
Simulator, file 'obj/a_d2i_fp.o' for architecture x86_64

ld should stop and avoid any poorly explained nonsense.
2018-09-24 13:59:07 +02:00
Davide De Rosa dbba12308a Drop i386, deprecated in Xcode 10 2018-09-24 13:59:07 +02:00
Davide De Rosa ef7a3e4654 Circumvent CocoaPods warning about source 2018-04-25 16:59:58 +02:00
Davide De Rosa 728467cdd4 Add OpenSSL double license 2018-03-26 19:00:11 +02:00
Davide De Rosa b19422e570 Add OpenSSL acknowledgement 2018-03-22 22:06:35 +01:00
Davide De Rosa 62c160c48e Merge branch 'feature/podspec' 2018-02-08 17:23:05 +01:00
Davide De Rosa a913058ee5 Add podspec template 2018-02-08 17:22:29 +01:00
Davide De Rosa 9ef6ee8a85 Merge branch 'chore/rebrand' 2018-02-08 16:55:09 +01:00
Davide De Rosa 92f5d9cc89 Rename repository 2018-02-08 16:54:46 +01:00
Davide De Rosa 41a9152efb Link to author page 2018-02-08 16:54:45 +01:00
Davide De Rosa d846e93a73 Adjust README to new reorganization 2018-02-08 16:54:45 +01:00
Davide De Rosa 227fdb7d77 Temporarily eemove stale Travis build script
Revert and refine later.
2018-02-08 16:54:28 +01:00
Davide De Rosa 0caa892178 Discard Xcode sample projects 2018-02-08 16:51:28 +01:00
Davide De Rosa 2bd9b363cc Restrict to SDKs supporting dynamic frameworks
- Start from iOS 8
- Never disable Bitcode
2018-02-08 16:51:28 +01:00
Davide De Rosa a9e7904e58 Strip gitignore 2018-02-08 16:51:22 +01:00
Davide De Rosa 92fd548dc6 Merge branch 'feature/macos-support' 2018-02-08 16:47:57 +01:00
Davide De Rosa 2f9d1d358e Rename 1.1.0 config to more generic 2018-02-08 16:45:10 +01:00
Davide De Rosa fbef7e0dca Prefix iOS archs for consistency 2018-02-08 16:45:10 +01:00
Davide De Rosa e455f1a1ae Add macOS archs/targets 2018-02-08 16:45:10 +01:00
Davide De Rosa d49bf7f61c Merge branch 'bugfix/dynamic-framework' 2018-02-08 16:44:13 +01:00
Davide De Rosa ba666f2507 Use same condition order 2017-10-18 09:20:26 +02:00
Davide De Rosa 15d5c28c08 Restore pipefail by replacing grep -q
Tip by @nicph
2017-10-18 09:17:35 +02:00
Davide De Rosa 8fd9082487 Remove redundant -arch from Bitcode check 2017-10-18 09:12:55 +02:00
Davide De Rosa 684c23e565 Embed Bitcode in dynamic framework, improve script
https://github.com/keeshux/OpenSSL-Framework/pull/2

- Fix framework type check in check_bitcode()
- Disable pipefail as it seems to stop in otool when fw is static
2017-10-17 22:57:51 +02:00
Davide De Rosa a30ce62044 Use -syslibroot instead of raw -L for SDK ref 2017-10-14 18:40:53 +02:00
Davide De Rosa f0af25dd74 Use proper, bare Info.plist for frameworks 2017-10-10 13:04:00 +02:00
Davide De Rosa 688565ad02 Hardcode fw Info.plist as vars spoil codesign 2017-10-01 23:39:00 +02:00
Davide De Rosa 0b43dc37cd Improve .dylib assembling log 2017-10-01 21:58:45 +02:00
Davide De Rosa 2ed8b30de7 Adjust Xcode project and Travis-CI to latest fixes 2017-10-01 21:54:14 +02:00
Davide De Rosa 4dd2bd9d67 Specify -arch in ld to fix page size crash 2017-10-01 21:53:57 +02:00
Davide De Rosa 10b342fb7e Create frameworks for both iPhone and AppleTV 2017-10-01 21:53:50 +02:00
Davide De Rosa dd9a625aa5 Normalize supporting files in Xcode project 2017-10-01 21:53:39 +02:00
Davide De Rosa e62bdf0984 Create dynamic framework from arch dylibs 2017-10-01 21:53:26 +02:00
Felix Schulze 10019638e8 Merge pull request #149 from x2on/OpenSSL-1.0.2l
OpenSSL 1.0.2l, 1.1.0f
2017-07-19 08:47:21 +02:00
Felix Schulze 491c7ae251 Update Xcode version on Travis 2017-05-30 20:12:31 +02:00
Felix Schulze 9b5bf59d90 OpenSSL 1.0.2l, 1.1.0f 2017-05-25 20:26:24 +02:00
Felix Schulze cb478bb451 OpenSSL 1.0.2l, 1.1.0f 2017-05-25 20:25:56 +02:00
Felix Schulze 39d1e04c7b OpenSSL 1.0.2l 2017-05-25 20:23:22 +02:00
Felix Schulze 173110e9b4 Merge pull request #144 from bithug/master
Allow disabling embedded Bitcode
2017-04-06 15:36:27 +02:00
g4bor k0vacs f77e6de936 Avoid regexp for comparing CONFIG_DISABLE_BITCODE value 2017-03-29 17:01:22 +02:00
Felix Schulze f28e63c656 Merge branch 'master' into master 2017-03-15 10:38:43 +01:00
g4bor k0vacs db8e598554 Allow to disable embedding Bitcode for OpenSSL 1.1.0+ too 2017-03-13 02:20:27 +01:00
Felix Schulze 4dae1f0680 Merge pull request #141 from andrewh42/master
openssl 1.1.x's default configuration results in app store rejection
2017-03-10 09:20:58 +01:00
g4bor k0vacs fd0b497792 Disable embedding Bitcode: --disable-bitcode option added (for OpenSSL 1.0.2 and lower ONLY) 2017-03-07 14:14:39 +01:00
Andrew H ec6846add1 Merge branch 'master' into master 2017-03-06 20:21:26 +11:00
Andrew Herbert addf784317 No need for --async build option 2017-03-06 09:31:01 +11:00
Felix Schulze f5f3bee244 Merge pull request #142 from oneton/opensslconf-2
Use a per-architecture opensslconf.h (#126 take 3)
2017-03-04 16:48:30 +01:00
Anton Tieleman 9a9119669b Preprocessor error for unknown targets and include for TargetConditionals.h 2017-03-04 13:06:21 +01:00
Andrew Herbert ee1cea7cd4 openssl 1.1.x's default configuration results in app store rejection: The app references non-public symbols in <app name>: _getcontext, _makecontext, _setcontext 2017-03-03 14:42:09 +11:00
Anton Tieleman 11857a8da6 Dynamically generate opensslconf.h intermediate file
- Only use intermediate file when building for multiple targets
2017-02-17 17:47:43 +01:00