Skip to content

Commit c7bf8b1

Browse files
authored
include existing LDFLAGS on macos when building tk (astral-sh#833)
closes astral-sh#737
1 parent 615a5d2 commit c7bf8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build-tk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ LDFLAGS="${EXTRA_TARGET_LDFLAGS}"
2626
if [[ "${PYBUILD_PLATFORM}" = macos* ]]; then
2727
CFLAGS="${CFLAGS} -I${TOOLS_PATH}/deps/include -Wno-availability"
2828
CFLAGS="${CFLAGS} -Wno-deprecated-declarations -Wno-unknown-attributes -Wno-typedef-redefinition"
29-
LDFLAGS="-L${TOOLS_PATH}/deps/lib"
29+
LDFLAGS="${LDFLAGS} -L${TOOLS_PATH}/deps/lib"
3030
EXTRA_CONFIGURE_FLAGS="--enable-aqua=yes --without-x"
3131
else
3232
LDFLAGS="${LDFLAGS} -Wl,--exclude-libs,ALL"

0 commit comments

Comments
 (0)