File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -336,10 +336,17 @@ if build_application
336336
337337 c = meson .get_compiler(' c' )
338338
339+ discord_dep_required = not meson .is_cross_build() and get_option (' build_installer' )
340+
341+ if host_machine .system() == ' linux' and host_machine .cpu_family() == ' aarch64'
342+ # not supported on aarch64 linux :(
343+ discord_dep_required = false
344+ endif
345+
339346 discord_sdk_dep = dependency (
340347 ' discord-game-sdk' ,
341348 allow_fallback : true ,
342- required : not meson .is_cross_build() and get_option ( ' build_installer ' ) ,
349+ required : discord_dep_required ,
343350 # only with msvc we need a static library, all others work without adding __declspec() everywhere
344351 static : c.get_id() == ' msvc' ,
345352 default_options : c.get_id() != ' msvc' ? {} : {' default_library' : ' static' },
You can’t perform that action at this time.
0 commit comments