Skip to content

Commit

Permalink
Error for libtype='both'
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Jun 18, 2024
1 parent b5b2804 commit 3d95064
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ configure_file(input: 'src/nanoarrow/nanoarrow_config.h.in',

if host_machine.system() == 'windows'
libtype = get_option('default_library')
if libtype == 'shared' # TODO: do we need to handle default_library=both?
if libtype == 'both'
error('libtype "both" is not supported')
elif libtype == 'shared'
if meson.is_subproject()
add_project_arguments('-DNANOARROW_CONSUME_DLL', language: 'c')
add_project_arguments('-DNANOARROW_CONSUME_DLL', language: 'cpp')
Expand Down

0 comments on commit 3d95064

Please sign in to comment.