python3: Fix unnecessary linking with libbsd
configure will try to link with libbsd for the flock function, even when
flock is available without it.
Fixes: https://github.com/openwrt/packages/issues/21161
Fixes: 2445fe9fb2
("python3: Update to 3.11.3, refresh/redo patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
parent
6b8340d3ca
commit
60bf01cb60
|
@ -153,6 +153,11 @@ CONFIGURE_VARS += \
|
|||
ac_cv_file__dev_ptc=no \
|
||||
ac_cv_file__dev_ptmx=yes
|
||||
|
||||
# Do not link with libbsd for flock
|
||||
# https://github.com/openwrt/packages/issues/21161
|
||||
CONFIGURE_VARS += \
|
||||
ac_cv_lib_bsd_flock=no
|
||||
|
||||
# Disable stdlib modules
|
||||
# Check for a better way in the future: https://github.com/python/cpython/issues/98558
|
||||
CONFIGURE_VARS += \
|
||||
|
|
Loading…
Reference in New Issue