Skip to content

Commit

Permalink
Fix #1514
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Jul 26, 2023
1 parent 011e590 commit 00d5fd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Nemo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,16 @@ end

# check whether we are using flint version >= 3.0 (or some recent enough dev version),
# which changed the layout of some structs
_ptr = Libc.dlopen(libflint)
if Libc.dlsym(_ptr, :_fmpz_mod_vec_set_fmpz_vec_threaded; throw_error = false) !== nothing
_ptr = Libc.Libdl.dlopen(libflint)
if Libc.Libdl.dlsym(_ptr, :_fmpz_mod_vec_set_fmpz_vec_threaded; throw_error = false) !== nothing
const NEW_FLINT = true
libantic = libflint
libarb = libflint
libcalcium = libflint
else
const NEW_FLINT = false
end
Libc.dlclose(_ptr)
Libc.Libdl.dlclose(_ptr)

################################################################################
#
Expand Down

0 comments on commit 00d5fd4

Please sign in to comment.