Skip to content

Commit

Permalink
Shared build for windows too
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Nov 28, 2024
1 parent 3ad531a commit 0ac0ec9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ libsdb = both_libraries(libsdb_name, libsdb_sources,
install_rpath: rpath_lib
)

if is_windows
link_with = libsdb.get_static_lib()
else
link_with = libsdb.get_shared_lib()
endif
#if is_windows
# link_with = libsdb.get_static_lib()
#else
# link_with = libsdb.get_shared_lib()
#endif

link_with = libsdb.get_shared_lib()

sdb_dep = declare_dependency(
link_with: libsdb.get_static_lib(),
Expand Down

0 comments on commit 0ac0ec9

Please sign in to comment.