Skip to content

Fix Xcode 16.3 build #2564

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

Merged
merged 2 commits into from
Apr 8, 2025
Merged

Fix Xcode 16.3 build #2564

merged 2 commits into from
Apr 8, 2025

Conversation

bear101
Copy link
Contributor

@bear101 bear101 commented Apr 8, 2025

No description provided.

bear101 added 2 commits April 8, 2025 20:47
Xcode 16 (clang 17) cannot build zlib v1.2.13
Homebrew installs its headers and libraries in /usr/local. This means
that e.g. OpenSSL headers will be included from Homebrew instead of
those built by TeamTalk.

Output from clang -v:

_include "..." search starts here:
_include <...> search starts here:
 /Volumes/BEAR-1/MacOS/TeamTalk5/Library/TeamTalkLib
 /Volumes/BEAR-1/MacOS/TeamTalk5/Library/TeamTalk_DLL
 /usr/local/include
 /Users/bdr/tt5dist/toolchain/macos/ace/include
 /Users/bdr/tt5dist/toolchain/macos/openssl/include

/usr/local/include/openssl will therefore be included instead of
/Users/bdr/tt5dist/toolchain/macos/openssl/include
@bear101 bear101 self-assigned this Apr 8, 2025
@bear101 bear101 changed the title Fix Xcode 16 build Fix Xcode 16.3 build Apr 8, 2025
@bear101 bear101 merged commit 76f5038 into master Apr 8, 2025
11 checks passed
@bear101 bear101 deleted the clang-usr-local branch April 8, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant