Commit 2e4caa6
committed
configure.ac: don't require libpython*.so in manylinux cibuildwheel
manylinux intentionally omits libpython*.so libraries from its build
containers to discourage/prevent wheels' native extension libraries from
linking against the Python DSO. We don't do that (anymore), but the
AX_PYTHON_DEVEL Autoconf macro expects to be able to find it and fails
its final sanity check if it can't. Thankfully, more recent versions of
the macro support an 'optional' flag that allows configure to proceed
even if the check fails. So now we set that flag and just check that we
have a value in $PYTHON_CPPFLAGS, which is all the SWIG_PYTHON macro
cares about in the first place.1 parent f6299f4 commit 2e4caa6
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
315 | 319 | | |
316 | 320 | | |
317 | 321 | | |
| |||
333 | 337 | | |
334 | 338 | | |
335 | 339 | | |
336 | | - | |
| 340 | + | |
337 | 341 | | |
338 | 342 | | |
339 | | - | |
| 343 | + | |
340 | 344 | | |
341 | 345 | | |
342 | 346 | | |
| |||
0 commit comments