-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix building on OSX (script, installation) #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1051,7 +1051,7 @@ void __CFInitialize(void) { | |
#if TARGET_OS_LINUX | ||
#define __CFSwiftGetBaseClass _TF10Foundation21__CFSwiftGetBaseClassFT_PMPs9AnyObject_ | ||
#elif TARGET_OS_MAC | ||
#define __CFSwiftGetBaseClass _TF15SwiftFoundation21__CFSwiftGetBaseClassFT_PMPs9AnyObject_ | ||
#define __CFSwiftGetBaseClass _TF18PortableFoundation21__CFSwiftGetBaseClassFT_PMPs9AnyObject_ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems like a change just to change the name right? Again these changes seem to be a fully different set of thoughts here (irregardless of what the name may infer). Personally I think that it would be nice if we could somehow unify both targets to be the same thing: but that comes at some complexity. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, just changed the name. Unifying the names would be great, and if we ship this library with Darwin (as I think we should) it would be essential. |
||
#endif | ||
#endif | ||
extern uintptr_t __CFSwiftGetBaseClass(); | ||
|
@@ -1164,7 +1164,7 @@ void __CFInitialize(void) { | |
#if TARGET_OS_LINUX | ||
#define __CFInitializeSwift _TF10Foundation19__CFInitializeSwiftFT_T_ | ||
#elif TARGET_OS_MAC | ||
#define __CFInitializeSwift _TF15SwiftFoundation19__CFInitializeSwiftFT_T_ | ||
#define __CFInitializeSwift _TF18PortableFoundation19__CFInitializeSwiftFT_T_ | ||
#endif | ||
#endif | ||
extern void __CFInitializeSwift(); | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not certain this is the right move here. It has some consequences that might sign us all up for things that would tie our hands for fixing things in the future. It might be a good idea to break this up into more than one pull request so we can consider the full meaning individually