mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-01-31 12:00:35 +00:00
aedi: enable position independent code for sdl2
This commit is contained in:
parent
9a2c979cd4
commit
d6df02e52d
1 changed files with 2 additions and 0 deletions
|
@ -464,6 +464,8 @@ class Sdl2Target(CMakeStaticDependencyTarget):
|
|||
LINKER_FLAGS = None
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
state.options['SDL_STATIC_PIC'] = 'YES'
|
||||
|
||||
if not Sdl2Target.FRAMEWORKS:
|
||||
# Need to have uniform settings for x86_64 and arm64 because of linking with Metal framework
|
||||
Sdl2Target.FRAMEWORKS = '-framework AudioToolbox -framework AVFoundation -framework Carbon' \
|
||||
|
|
Loading…
Reference in a new issue