diff options
author | Jean-Luc Jumpertz <jean-luc@celedev.eu> | 2017-09-04 15:55:34 +0200 |
---|---|---|
committer | Jean-Luc Jumpertz <jean-luc@celedev.eu> | 2017-09-04 15:55:34 +0200 |
commit | a78da73956e4b0af4556f1c0a444bd0f065c3965 (patch) | |
tree | c7d912955642aa1e3af5a9d32de869591167ce61 /generate-darwin-source-and-headers.py | |
parent | 7d504f7a8e33f6da27941f5dc5d889fe60b8b9c8 (diff) | |
download | libffi-a78da73956e4b0af4556f1c0a444bd0f065c3965.tar.gz |
Fix macOS build target in Xcode project.
- Add missing files for desktop platforms in generate-darwin-source-and-headers.py, and in the Xcode project.
- Add a static library target for macOS.
- Fix "implicit conversion loses integer precision" warnings for iOS mad macOS targets.
Diffstat (limited to 'generate-darwin-source-and-headers.py')
-rwxr-xr-x | generate-darwin-source-and-headers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generate-darwin-source-and-headers.py b/generate-darwin-source-and-headers.py index 271dd88..f7fc414 100755 --- a/generate-darwin-source-and-headers.py +++ b/generate-darwin-source-and-headers.py @@ -68,7 +68,7 @@ class desktop32_platform(Platform): triple = 'i386-apple-darwin10' version_min = '-mmacosx-version-min=10.6' src_dir = 'x86' - src_files = ['sysv.S', 'ffi.c'] + src_files = ['sysv.S', 'ffi.c', 'internal.h'] prefix = "#ifdef __i386__\n\n" suffix = "\n\n#endif" @@ -84,7 +84,7 @@ class desktop64_platform(Platform): prefix = "#ifdef __x86_64__\n\n" suffix = "\n\n#endif" src_dir = 'x86' - src_files = ['unix64.S', 'ffi64.c'] + src_files = ['unix64.S', 'ffi64.c', 'ffiw64.c', 'win64.S', 'internal64.h', 'asmnames.h'] def mkdir_p(path): |