Skip to content

Commit 3b94ff4

Browse files
oscargusjpakkane
authored andcommitted
Replace buildtype with default_library
1 parent d98c58e commit 3b94ff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subprojects/packagefiles/nanobind/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ elif host_machine.system() != 'windows'
5757
dep_link_args += ['-Wl,-s']
5858
endif
5959

60-
if get_option('buildtype') == 'shared'
60+
if get_option('default_library') == 'shared'
6161
dep_compile_args += ['-DNB_SHARED']
6262
add_project_arguments(
6363
[dep_compile_args, '-DNB_BUILD'],

0 commit comments

Comments
 (0)