feat: windows64 iggy support

This commit is contained in:
Tropical
2026-04-11 14:56:17 -05:00
parent 7adc6c4788
commit 8d3f8dea3a
3 changed files with 125 additions and 117 deletions

BIN
libs/iggy_w64.dll Normal file

Binary file not shown.

BIN
libs/iggy_w64.lib Normal file

Binary file not shown.

View File

@@ -3,11 +3,13 @@ project('shiggy', 'c',
meson_version: '>= 1.1.0'
)
cc = meson.get_compiler('c')
if host_machine.system() == 'linux'
pymod = import('python')
python = pymod.find_installation('python3', required: true)
ar = find_program('ar')
cc = meson.get_compiler('c')
iggy_object_files = [
'ORBIS_rrAtomics.obj',
@@ -120,10 +122,16 @@ patched_relocations = custom_target(
)
shiggy_dep = declare_dependency(
link_with: static_library(
'shiggy',
link_with: static_library('shiggy',
meson.project_source_root() / 'src' / 'shims.c',
include_directories: include_directories('include'),
objects: patched_relocations,
)
)
elif host_machine.system() == 'windows'
shiggy_dep = declare_dependency(
dependencies: cc.find_library('iggy_w64',
dirs: [meson.project_source_root() / 'libs']
)
)
endif