Skip to content

Commit

Permalink
Merge pull request #212 from JuliaMath/KristofferC-patch-1
Browse files Browse the repository at this point in the history
make FFTW relocatable, take 2
  • Loading branch information
staticfloat authored Sep 9, 2021
2 parents 9a9239f + 3d46744 commit cb7714f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FFTW.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ function __init__()
# libfftw3{,f} refs at runtime, since we may have relocated and
# changed the path to the library since the last time we precompiled.
@static if fftw_provider == "fftw"
fftw_init_threads()
libfftw3[] = FFTW_jll.libfftw3_path
libfftw3f[] = FFTW_jll.libfftw3f_path
fftw_init_threads()
end
@static if fftw_provider == "mkl"
libfftw3[] = MKL_jll.libmkl_rt_path
Expand Down

0 comments on commit cb7714f

Please sign in to comment.