Skip to content

Commit

Permalink
Attempt static link for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tremeschin committed Aug 4, 2024
1 parent f238af2 commit 63e1df9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ project('turbopipe', 'cpp',
# Platform flags

cpp_args = ['-fpermissive']
link_args = []

if host_machine.system() == 'darwin'
cpp_args += ['-Wno-deprecated-declarations']
elif host_machine.system() == 'windows'
link_args += ['/MANIFEST:NO']
cpp_args += ['/MT']
endif

# ----------------------------------------------|
Expand All @@ -37,6 +41,7 @@ python.extension_module(
'_turbopipe', source,
include_directories: incdir,
cpp_args: cpp_args,
link_args: link_args,
install: true,
subdir: 'turbopipe'
)
Expand Down
2 changes: 1 addition & 1 deletion turbopipe/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env python3
__version__ = "1.0.0"
__version__ = "1.0.1"
print(__version__)

0 comments on commit 63e1df9

Please sign in to comment.