Skip to content

Commit 3d46744

Browse files
author
Kristoffer Carlsson
authored
make FFTW relocatable, take 2
1 parent 9a9239f commit 3d46744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FFTW.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ function __init__()
2727
# libfftw3{,f} refs at runtime, since we may have relocated and
2828
# changed the path to the library since the last time we precompiled.
2929
@static if fftw_provider == "fftw"
30-
fftw_init_threads()
3130
libfftw3[] = FFTW_jll.libfftw3_path
3231
libfftw3f[] = FFTW_jll.libfftw3f_path
32+
fftw_init_threads()
3333
end
3434
@static if fftw_provider == "mkl"
3535
libfftw3[] = MKL_jll.libmkl_rt_path

0 commit comments

Comments
 (0)