From a8f34ae23bb878b771b53ca7e288735d6df122bb Mon Sep 17 00:00:00 2001 From: Cody Tapscott Date: Wed, 9 Oct 2024 15:19:07 -0400 Subject: [PATCH] Make `__init__` compatible with sysimage builds Co-authored-by: Gabriel Baraldi --- src/providers.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/providers.jl b/src/providers.jl index 58817b1..8a203eb 100644 --- a/src/providers.jl +++ b/src/providers.jl @@ -48,6 +48,9 @@ end # If we're using fftw_jll, load it in @static if fftw_provider == "fftw" import FFTW_jll + if FFTW_jll.libfftw3_path === nothing + FFTW_jll.__init__() + end libfftw3[] = FFTW_jll.libfftw3_path libfftw3f[] = FFTW_jll.libfftw3f_path