[Python-checkins] [3.13] gh-128354: Consistently use LIBS over LDFLAGS in library build… (#128465)