File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 916916${BUILD_PYTHON} ${ROOT} /generate_metadata.py ${ROOT} /metadata.json
917917cat ${ROOT} /metadata.json
918918
919- # TODO: Output a dynamic library version for musl
920919if [ " ${CC} " != " musl-clang" ]; then
921920 objdump -T ${LIBPYTHON_SHARED_LIBRARY} | grep GLIBC_ | awk ' {print $5}' | awk -F_ ' {print $2}' | sort -V | tail -n 1 > ${ROOT} /glibc_version.txt
922921 cat ${ROOT} /glibc_version.txt
Original file line number Diff line number Diff line change @@ -845,7 +845,12 @@ def build_cpython(
845845
846846 if "musl" in target_triple :
847847 crt_features .append ("musl-dynamic" )
848- # TODO: Determine the dynamic musl libc version
848+
849+ musl_version = DOWNLOADS ["musl" ]["version" ]
850+ crt_features .append (
851+ "musl-version:%s"
852+ % musl_version
853+ )
849854
850855 else :
851856 crt_features .append ("glibc-dynamic" )
You can’t perform that action at this time.
0 commit comments