aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorautoantwort <41973254+autoantwort@users.noreply.github.com>2021-03-10 21:15:19 +0100
committerGitHub <noreply@github.com>2021-03-10 14:15:19 -0600
commit245713079fb517377e1caf303f424d7aa3da3942 (patch)
tree3da684cc6805b783ce53aee1bcdc99d87375a890 /ports
parentce17802cce8e47387d5775ed9561dab366a80359 (diff)
downloadvcpkg-245713079fb517377e1caf303f424d7aa3da3942.tar.gz
vcpkg-245713079fb517377e1caf303f424d7aa3da3942.zip
[boost-context] fix build result on apple arm (#16482)
* [boost] fix boost context build on apple arm * add version files
Diffstat (limited to 'ports')
-rw-r--r--ports/boost-context/b2-options.cmake.in7
-rw-r--r--ports/boost-context/vcpkg.json2
2 files changed, 8 insertions, 1 deletions
diff --git a/ports/boost-context/b2-options.cmake.in b/ports/boost-context/b2-options.cmake.in
index dbd70c94b..30933f499 100644
--- a/ports/boost-context/b2-options.cmake.in
+++ b/ports/boost-context/b2-options.cmake.in
@@ -5,3 +5,10 @@ if(@VCPKG_TARGET_IS_WINDOWS@)
binary-format=pe
)
endif()
+
+if(@VCPKG_TARGET_IS_OSX@)
+ list(APPEND B2_OPTIONS
+ abi=sysv
+ binary-format=mach-o
+ )
+endif()
diff --git a/ports/boost-context/vcpkg.json b/ports/boost-context/vcpkg.json
index c015df9d7..2829cc688 100644
--- a/ports/boost-context/vcpkg.json
+++ b/ports/boost-context/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "boost-context",
"version-string": "1.75.0",
- "port-version": 1,
+ "port-version": 2,
"description": "Boost context module",
"homepage": "https://github.com/boostorg/context",
"supports": "!uwp & !emscripten",