Skip to content

Commit 2cccd56

Browse files
authored
fix(c): Ignore dl dependency on Windows with Meson (#2848)
1 parent e08f484 commit 2cccd56

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

c/driver_manager/meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
dl_dep = dependency('dl')
18+
if host_machine.system() != 'windows'
19+
dl_dep = dependency('dl')
20+
else
21+
dl_dep = declare_dependency()
22+
endif
1923

2024
adbc_driver_manager_lib = library(
2125
'adbc_driver_manager',

0 commit comments

Comments
 (0)