diff options
author | Michel Zou | 2022-02-11 20:33:35 +0100 |
---|---|---|
committer | Michel Zou | 2022-02-11 20:33:35 +0100 |
commit | c62e9bf73a1916441f69aaef45ecfa4ea657be3e (patch) | |
tree | 2823b59beebf998a2fcc151628279e509205337a /PKGBUILD | |
parent | 1bd0c15a356971a5b004d0640b628eb4a7aa0976 (diff) | |
download | aur-c62e9bf73a1916441f69aaef45ecfa4ea657be3e.tar.gz |
BOOST_USE_WINAPI_VERSION=win7
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ pkgname=mingw-w64-boost pkgver=1.78.0 _boostver=${pkgver//./_} -pkgrel=1 +pkgrel=2 pkgdesc="Free peer-reviewed portable C++ source libraries (mingw-w64)" arch=('any') url="http://www.boost.org/" @@ -27,6 +27,9 @@ prepare() { # bypass libbacktrace detection patch -p1 -d libs/stacktrace -i "${srcdir}"/stacktrace-cross.patch + # win7 compat + sed -i "s|#define BOOST_USE_WINAPI_VERSION _WIN32_WINNT|#define BOOST_USE_WINAPI_VERSION 0x0601|g" boost/winapi/config.hpp + cd "${srcdir}" for _arch in ${_architectures}; do rm -rf build-${_arch:3} |