mirror of
https://github.com/portable-lce/shiggy.git
synced 2026-09-21 23:43:10 +00:00
feat: windows64 iggy support
This commit is contained in:
BIN
libs/iggy_w64.dll
Normal file
BIN
libs/iggy_w64.dll
Normal file
Binary file not shown.
BIN
libs/iggy_w64.lib
Normal file
BIN
libs/iggy_w64.lib
Normal file
Binary file not shown.
14
meson.build
14
meson.build
@@ -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
|
||||
Reference in New Issue
Block a user