@@ -17,42 +17,42 @@ libstdcxx_path::String = ""
1717libgomp_path:: String = " "
1818
1919if Sys. iswindows ()
20- const _libatomic_path = BundledLazyLibraryPath (" bin \\ libatomic-1.dll" )
21- const _libquadmath_path = BundledLazyLibraryPath (" bin \\ libquadmath-0.dll" )
20+ const _libatomic_path = BundledLazyLibraryPath (" libatomic-1.dll" )
21+ const _libquadmath_path = BundledLazyLibraryPath (" libquadmath-0.dll" )
2222 if arch (HostPlatform ()) == " x86_64"
23- const _libgcc_s_path = BundledLazyLibraryPath (" bin \\ libgcc_s_seh-1.dll" )
23+ const _libgcc_s_path = BundledLazyLibraryPath (" libgcc_s_seh-1.dll" )
2424 else
25- const _libgcc_s_path = BundledLazyLibraryPath (" bin \\ libgcc_s_sjlj-1.dll" )
25+ const _libgcc_s_path = BundledLazyLibraryPath (" libgcc_s_sjlj-1.dll" )
2626 end
27- const _libgfortran_path = BundledLazyLibraryPath (string (" bin \\ libgfortran-" , libgfortran_version (HostPlatform ()). major, " .dll" ))
28- const _libstdcxx_path = BundledLazyLibraryPath (" bin \\ libstdc++-6.dll" )
29- const _libgomp_path = BundledLazyLibraryPath (" bin \\ libgomp-1.dll" )
30- const _libssp_path = BundledLazyLibraryPath (" bin \\ libssp-0.dll" )
27+ const _libgfortran_path = BundledLazyLibraryPath (string (" libgfortran-" , libgfortran_version (HostPlatform ()). major, " .dll" ))
28+ const _libstdcxx_path = BundledLazyLibraryPath (" libstdc++-6.dll" )
29+ const _libgomp_path = BundledLazyLibraryPath (" libgomp-1.dll" )
30+ const _libssp_path = BundledLazyLibraryPath (" libssp-0.dll" )
3131elseif Sys. isapple ()
32- const _libatomic_path = BundledLazyLibraryPath (" lib/ libatomic.1.dylib" )
33- const _libquadmath_path = BundledLazyLibraryPath (" lib/ libquadmath.0.dylib" )
32+ const _libatomic_path = BundledLazyLibraryPath (" libatomic.1.dylib" )
33+ const _libquadmath_path = BundledLazyLibraryPath (" libquadmath.0.dylib" )
3434 if arch (HostPlatform ()) == " aarch64" || libgfortran_version (HostPlatform ()) == v " 5"
35- const _libgcc_s_path = BundledLazyLibraryPath (" lib/ libgcc_s.1.1.dylib" )
35+ const _libgcc_s_path = BundledLazyLibraryPath (" libgcc_s.1.1.dylib" )
3636 else
37- const _libgcc_s_path = BundledLazyLibraryPath (" lib/ libgcc_s.1.dylib" )
37+ const _libgcc_s_path = BundledLazyLibraryPath (" libgcc_s.1.dylib" )
3838 end
39- const _libgfortran_path = BundledLazyLibraryPath (string (" lib/ libgfortran." , libgfortran_version (HostPlatform ()). major, " .dylib" ))
40- const _libstdcxx_path = BundledLazyLibraryPath (" lib/ libstdc++.6.dylib" )
41- const _libgomp_path = BundledLazyLibraryPath (" lib/ libgomp.1.dylib" )
42- const _libssp_path = BundledLazyLibraryPath (" lib/ libssp.0.dylib" )
39+ const _libgfortran_path = BundledLazyLibraryPath (string (" libgfortran." , libgfortran_version (HostPlatform ()). major, " .dylib" ))
40+ const _libstdcxx_path = BundledLazyLibraryPath (" libstdc++.6.dylib" )
41+ const _libgomp_path = BundledLazyLibraryPath (" libgomp.1.dylib" )
42+ const _libssp_path = BundledLazyLibraryPath (" libssp.0.dylib" )
4343else
44- if ! Sys. isfreebsd ()
45- const _libatomic_path = BundledLazyLibraryPath (" lib/ libatomic.so.1" )
44+ if ! Sys. isfreebsd ()
45+ const _libatomic_path = BundledLazyLibraryPath (" libatomic.so.1" )
4646 end
47- const _libgcc_s_path = BundledLazyLibraryPath (" lib/ libgcc_s.so.1" )
48- const _libgfortran_path = BundledLazyLibraryPath (string (" lib/ libgfortran.so." , libgfortran_version (HostPlatform ()). major))
49- const _libstdcxx_path = BundledLazyLibraryPath (" lib/ libstdc++.so.6" )
50- const _libgomp_path = BundledLazyLibraryPath (" lib/ libgomp.so.1" )
47+ const _libgcc_s_path = BundledLazyLibraryPath (" libgcc_s.so.1" )
48+ const _libgfortran_path = BundledLazyLibraryPath (string (" libgfortran.so." , libgfortran_version (HostPlatform ()). major))
49+ const _libstdcxx_path = BundledLazyLibraryPath (" libstdc++.so.6" )
50+ const _libgomp_path = BundledLazyLibraryPath (" libgomp.so.1" )
5151 if libc (HostPlatform ()) != " musl"
52- const _libssp_path = BundledLazyLibraryPath (" lib/ libssp.so.0" )
52+ const _libssp_path = BundledLazyLibraryPath (" libssp.so.0" )
5353 end
5454 if arch (HostPlatform ()) ∈ (" x86_64" , " i686" )
55- const _libquadmath_path = BundledLazyLibraryPath (" lib/ libquadmath.so.0" )
55+ const _libquadmath_path = BundledLazyLibraryPath (" libquadmath.so.0" )
5656 end
5757end
5858
0 commit comments