mail/config/mozconfigs/win64/common-win64
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Sat, 28 Nov 2020 08:37:35 +0000
changeset 40444 8cb35ef8363641f689083be6ba7b996bd953e045
parent 39361 3e7d737d01f8e93047b53491c9233e752bf51dcb
permissions -rw-r--r--
no bug - Bumping Thunderbird l10n changesets r=release a=l10n-bump DONTBUILD el -> a74473645db8fc0310f1a4da62503e345bbaec8f sk -> a47852af27dd5d5a53d008f6c41872d6b1cd2d7e

# This file is used by all Win64 builds

ac_add_options --target=x86_64-pc-mingw32

. $topsrcdir/build/win64/mozconfig.vs-latest

# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=${TOOLTOOL_DIR}/mapiheader

if test `uname -s` = Linux; then

# Configure expects executables for check_prog, so set the relevant files
# as executable on the first evaluation of the mozconfig where they exist.
if [ -d "${VSPATH}" -a ! -x "${VSPATH}/VC/bin/Hostx64/x64/cl.exe" ]; then
    find "${VSPATH}" -type f -name \*.exe -exec chmod +x {} \;
fi
export MAKENSISU="${MOZ_FETCHES_DIR}/nsis-3.01/makensis.exe"
if [ -d "${MAKENSISU%/*}" -a ! -x "${MAKENSISU}" ]; then
    chmod +x "${MAKENSISU}"
fi
export UPX="${MOZ_FETCHES_DIR}/upx-3.95-win64/upx.exe"
if [ -f "${UPX}" ]; then
    chmod +x "${UPX}"
fi
export WINE=${MOZ_FETCHES_DIR}/wine/bin/wine64
mk_add_options "export PATH=${VSPATH}/VC/bin/Hostx64/x64:${MOZ_FETCHES_DIR}/nsis-3.01:${PATH}"

unset VC_PATH

fi

export WINCHECKSEC="${MOZ_FETCHES_DIR}/winchecksec/winchecksec"
if [ ! -f "${WINCHECKSEC}" ]; then
    export WINCHECKSEC="${MOZ_FETCHES_DIR}/winchecksec/winchecksec.exe"
    if [ ! -f "${WINCHECKSEC}" ]; then
        unset WINCHECKSEC
    fi
fi