This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 2cccd5687 fix(c): Ignore dl dependency on Windows with Meson (#2848)
2cccd5687 is described below

commit 2cccd568741d6d62214c6ccb7de7ad7dafe64c95
Author: William Ayd <[email protected]>
AuthorDate: Thu May 22 20:54:20 2025 -0400

    fix(c): Ignore dl dependency on Windows with Meson (#2848)
---
 c/driver_manager/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/c/driver_manager/meson.build b/c/driver_manager/meson.build
index 8dfdf0e4b..39b36f538 100644
--- a/c/driver_manager/meson.build
+++ b/c/driver_manager/meson.build
@@ -15,7 +15,11 @@
 # specific language governing permissions and limitations
 # under the License.
 
-dl_dep = dependency('dl')
+if host_machine.system() != 'windows'
+    dl_dep = dependency('dl')
+else
+    dl_dep = declare_dependency()
+endif
 
 adbc_driver_manager_lib = library(
     'adbc_driver_manager',

Reply via email to