mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
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> (cherry picked from commit60bf01cb60)
This commit is contained in:
@@ -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 += \
|
||||
|
||||
Reference in New Issue
Block a user