Skip to content

Commit bac6034

Browse files
committed
Add mpfr dependency for real_mpfi in meson.build
Fix for [1/775] Linking target src/sage/rings/real_mpfi.cp311-win_amd64.pyd FAILED: [code=1] src/sage/rings/real_mpfi.cp311-win_amd64.pyd "cc" -o src/sage/rings/real_mpfi.cp311-win_amd64.pyd src/sage/rings/real_mpfi.cp311-win_amd64.pyd.p/meson-generated_src_sage_rings_real_mpfi.pyx.c.obj "-Wl,--allow-shlib-undefined" "-Wl,-O1" "-shared" "-Wl,--start-group" "-Wl,--out-implib=src\sage\rings\real_mpfi.cp311-win_amd64.dll.a" "C:\Users\Tobia\AppData\Local\Programs\Python\Python311\python311.dll" "C:/rtools45/ucrt64/lib/libgmp.dll.a" "-lmpfi" "-lkernel32" "-luser32" "-lgdi32" "-lwinspool" "-lshell32" "-lole32" "-loleaut32" "-luuid" "-lcomdlg32" "-ladvapi32" "-Wl,--end-group" C:/rtools45/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: src/sage/rings/real_mpfi.cp311-win_amd64.pyd.p/meson-generated_src_sage_rings_real_mpfi.pyx.c.obj:real_mpfi.pyx.:(.text+0x471b): undefined reference to `mpfr_equal_p
1 parent 5cf5e3e commit bac6034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ foreach name, pyx : extension_data
191191
elif name == 'real_double_element_gsl'
192192
deps += [gsl]
193193
elif name == 'real_mpfi'
194-
deps += [mpfi]
194+
deps += [mpfi, mpfr]
195195
elif name == 'real_mpfr'
196196
deps += [gmpy2, mpfr]
197197
elif name == 'tate_algebra_element'

0 commit comments

Comments
 (0)