diff --git a/src/Normaliz.jl b/src/Normaliz.jl index fdbe6e1..a3896d4 100644 --- a/src/Normaliz.jl +++ b/src/Normaliz.jl @@ -5,8 +5,8 @@ import normaliz_jll using CxxWrap -const libnormaliz_julia_path = joinpath(@__DIR__, "..", "deps", "src", "build", "lib", "libnormaliz_julia.$(Libdl.dlext)") -@wrapmodule(libnormaliz_julia_path, :define_module_normaliz) +get_libnormaliz_julia_path() = joinpath(@__DIR__, "..", "deps", "src", "build", "lib", "libnormaliz_julia.$(Libdl.dlext)") +@wrapmodule(get_libnormaliz_julia_path, :define_module_normaliz) function __init__() @initcxx