fix(dl): added dl as a dep

older manylinux systems need dl brought in explicitly
This commit is contained in:
2026-06-12 16:51:55 -04:00
parent 0759ff6d9c
commit 5ea884897d
4 changed files with 10 additions and 4 deletions

View File

@@ -29,8 +29,14 @@ libcppad_static = static_library(
install: false
)
dl_dep = dependency('dl', required: false)
if not dl_dep.found()
dl_dep = cpp.find_library('dl', required: false)
endif
cppad_dep = declare_dependency(
include_directories: cppad_incs
include_directories: cppad_incs,
dependencies: dl_dep.found() ? [dl_dep] : [],
)
message('Staging vendored CppAD headers for ' + gridfire_vendor_includedir)