File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1251,7 +1251,9 @@ if [ -d "${TOOLS_PATH}/deps/lib/tcl8" ]; then
12511251 cp -av $source ${ROOT} /out/python/install/lib/
12521252 done
12531253
1254- if [[ " ${PYBUILD_PLATFORM} " != macos* ]]; then
1254+ if [[ " ${PYBUILD_PLATFORM} " == macos* ]]; then
1255+ cp -av ${TOOLS_PATH} /deps/lib/lib* .dylib ${ROOT} /out/python/install/lib/
1256+ else
12551257 cp -av ${TOOLS_PATH} /deps/lib/lib* .so ${ROOT} /out/python/install/lib/
12561258 fi
12571259fi
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ CFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ./configure \
5959 --enable-threads
6060
6161make -j ${NUM_CPUS}
62- make -j ${NUM_CPUS} install DESTDIR=${ROOT} /out
62+ make -j ${NUM_CPUS} install DESTDIR=${ROOT} /out DYLIB_INSTALL_DIR=@rpath
6363make -j ${NUM_CPUS} install-private-headers DESTDIR=${ROOT} /out
6464
6565if [ -n " ${STATIC} " ]; then
Original file line number Diff line number Diff line change 5454
5555make -j ${NUM_CPUS}
5656touch wish
57- make -j ${NUM_CPUS} install DESTDIR=${ROOT} /out
57+ make -j ${NUM_CPUS} install DESTDIR=${ROOT} /out DYLIB_INSTALL_DIR=@rpath
5858make -j ${NUM_CPUS} install-private-headers DESTDIR=${ROOT} /out
5959
6060# For some reason libtk*.a have weird permissions. Fix that.
You can’t perform that action at this time.
0 commit comments