Skip to content

Commit

Permalink
[curl] Fix android API < 24 (microsoft#36156)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt authored Jan 16, 2024
1 parent 02e210e commit c268e9f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ports/curl/cmake-project-include.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if(ANDROID AND ANDROID_NATIVE_API_LEVEL LESS 24)
# https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md
set(HAVE_FILE_OFFSET_BITS FALSE CACHE INTERNAL "")
endif()

# Process the libs and targets in the variable named by `input`
# into a flat list of libs in the variable named by `output`.
# Simplify -framework elements.
Expand Down
1 change: 1 addition & 0 deletions ports/curl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "curl",
"version": "8.5.0",
"port-version": 1,
"description": "A library for transferring data with URLs",
"homepage": "https://curl.se/",
"license": "curl AND ISC AND BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2038,7 +2038,7 @@
},
"curl": {
"baseline": "8.5.0",
"port-version": 0
"port-version": 1
},
"curlpp": {
"baseline": "2018-06-15",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/curl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7b2bf8e8f4e0c7d000cb3b3311f4b9f185cb2d52",
"version": "8.5.0",
"port-version": 1
},
{
"git-tree": "b30c6697e314cdba601dee9bdef0ed01e1d09c8f",
"version": "8.5.0",
Expand Down

0 comments on commit c268e9f

Please sign in to comment.