Possible fix for meson 1.10 and/or Mac builds.

This commit is contained in:
Zed A. Shaw 2026-03-31 13:19:13 -04:00
parent 66e2328ea8
commit 2b69f388e5
2 changed files with 1 additions and 13 deletions

View file

@ -22,14 +22,6 @@ cc = meson.get_compiler('cpp')
dependencies = []
if build_machine.system() == 'windows'
add_global_link_arguments(
'-static-libgcc',
'-static-libstdc++',
'-static',
'-flto',
language: 'cpp',
)
sfml_main = subproject('sfml').get_variable('sfml_main_dep')
opengl32 = cc.find_library('opengl32', required: true)
winmm = cc.find_library('winmm', required: true)
@ -41,10 +33,6 @@ if build_machine.system() == 'windows'
exe_defaults += ['werror=true']
elif build_machine.system() == 'darwin'
add_global_link_arguments(
language: 'cpp',
)
opengl = dependency('OpenGL')
corefoundation = dependency('CoreFoundation')
carbon = dependency('Carbon')