From f2e8084227b322f7bd682070b6f654f9bb643034 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 19 Jan 2021 18:19:13 +0000 Subject: [PATCH] Make sure sip python extension is pyd under win32 Signed-off-by: falkTX --- bootstrap-carla.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bootstrap-carla.sh b/bootstrap-carla.sh index 5302525..6ea8011 100755 --- a/bootstrap-carla.sh +++ b/bootstrap-carla.sh @@ -139,6 +139,9 @@ function build_pyqt() { pushd "sipgen" PATH="${OLD_PATH}" make sip LFLAGS="-Wl,-s" ${MAKE_ARGS} popd + if [ "${WIN32}" -eq 1 ]; then + sed -i -e "s/sip.so/sip.pyd/" installed.txt + fi fi # use env vars @@ -267,7 +270,7 @@ else fi if [ "${WIN32}" -eq 1 ]; then - SIP_EXTRAFLAGS+=" --platform win32-g++" + SIP_EXTRAFLAGS+=" --platform win32-g++ EXTENSION_PLUGIN=pyd" fi download sip "${SIP_VERSION}" "${SIP_DOWNLOAD_URL}"