From bd545fd8520e191b1ca841dae2b93028010481e1 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Thu, 30 Jul 2020 02:41:17 -0700 Subject: [PATCH] Revert "Try building with a newer LDC" This reverts commit 6ab9b3a644ae4976dd6e089f6fc9aae52fed2f6a. --- setup-ldc-windows.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup-ldc-windows.sh b/setup-ldc-windows.sh index c854e7f..0656b5a 100644 --- a/setup-ldc-windows.sh +++ b/setup-ldc-windows.sh @@ -2,7 +2,7 @@ # sets up LDC for cross-compilation. Source this script, s.t. the new LDC is in PATH -LDC_VERSION="1.15.0" +LDC_VERSION="1.13.0" ARCH=${ARCH:-32} VERSION=$(git describe --abbrev=0 --tags) OS=windows @@ -18,11 +18,11 @@ LDC_PATH="$(dirname $(dirname $(which ldc2)))" # Step 1a: download the LDC x64 windows binaries if [ "${ARCH}" == 64 ] && [ ! -d "ldc2-${LDC_VERSION}-windows-x64" ] ; then - wget "https://github.com/ldc-developers/ldc/releases/download/v1.15.0/ldc2-${LDC_VERSION}-windows-x64.7z" + wget "https://github.com/ldc-developers/ldc/releases/download/v1.13.0/ldc2-${LDC_VERSION}-windows-x64.7z" 7z x "ldc2-${LDC_VERSION}-windows-x64.7z" > /dev/null # Step 2a: Add LDC windows binaries to LDC Linux if [ ! -d "${LDC_PATH}/lib-win64" ] ; then - cp -r ldc2-1.15.0-windows-x64/lib "${LDC_PATH}/lib-win64" + cp -r ldc2-1.13.0-windows-x64/lib "${LDC_PATH}/lib-win64" cat >> "$LDC_PATH"/etc/ldc2.conf < /dev/null # Step 2b: Add LDC windows binaries to LDC Linux if [ ! -d "${LDC_PATH}/lib-win32" ] ; then - cp -r ldc2-1.15.0-windows-x86/lib "${LDC_PATH}/lib-win32" + cp -r ldc2-1.13.0-windows-x86/lib "${LDC_PATH}/lib-win32" cat >> "$LDC_PATH"/etc/ldc2.conf <