raduprv / Eternal-Lands

http://www.eternal-lands.com
Other
155 stars 56 forks source link

Add `-ld_classic` linker flag so build succeeds on Xcode 15 #211

Closed lukehorvat closed 1 month ago

lukehorvat commented 1 month ago

Fixes #210.

The latest macos image uses Xcode 15, which introduces a new linker: https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking

I added the -ld_classic linker flag recommended there to revert back to the old linker and it seems to fix things. We'll need to drop this flag at some point though, since it sounds like it will be removed in a future Xcode release.

@pjbroad @bendoughty

pjbroad commented 1 month ago

Thanks for the fix @lukehorvat .