Skip to content

Commit 00fff04

Browse files
authored
Fix publishing libcurl for macosArm64 (#3552)
1 parent 2c5dcd2 commit 00fff04

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package = libcurl
2-
headers = curl.h
3-
headerFilter = *
2+
headers = curl/curl.h
3+
headerFilter = curl/*
44

55
linkerOpts.osx = -lcurl \
66
-L/usr/lib64 \
@@ -10,18 +10,18 @@ linkerOpts.osx = -lcurl \
1010
-L/opt/homebrew/opt/curl/lib \
1111
-L/usr/local/opt/curl/lib
1212

13-
compilerOpts.osx = -I/opt/homebrew/opt/curl/include/curl \
14-
-I/usr/bin/curl \
15-
-I/usr/local/include/curl \
16-
-I/usr/include/curl \
17-
-I/usr/local/Cellar/curl/7.83.1/include/curl \
18-
-I/usr/local/Cellar/curl/7.81.0/include/curl \
19-
-I/usr/local/Cellar/curl/7.80.0_1/include/curl \
20-
-I/usr/local/Cellar/curl/7.80.0/include/curl \
21-
-I/usr/local/Cellar/curl/7.62.0/include/curl \
22-
-I/usr/local/Cellar/curl/7.63.0/include/curl \
23-
-I/usr/local/Cellar/curl/7.65.3/include/curl \
24-
-I/usr/local/Cellar/curl/7.66.0/include/curl
13+
compilerOpts.osx = -I/opt/homebrew/opt/curl/include/ \
14+
-I/usr/bin/ \
15+
-I/usr/local/include/ \
16+
-I/usr/include/ \
17+
-I/usr/local/Cellar/curl/7.83.1/include/ \
18+
-I/usr/local/Cellar/curl/7.81.0/include/ \
19+
-I/usr/local/Cellar/curl/7.80.0_1/include/ \
20+
-I/usr/local/Cellar/curl/7.80.0/include/ \
21+
-I/usr/local/Cellar/curl/7.62.0/include/ \
22+
-I/usr/local/Cellar/curl/7.63.0/include/ \
23+
-I/usr/local/Cellar/curl/7.65.3/include/ \
24+
-I/usr/local/Cellar/curl/7.66.0/include/
2525

2626

2727
linkerOpts.linux = -lcurl \
@@ -32,5 +32,5 @@ linkerOpts.linux = -lcurl \
3232
-L/opt/homebrew/opt/curl/lib
3333

3434
compilerOpts.linux = -I/usr/include/curl \
35-
-I/usr/include/x86_64-linux-gnu/curl \
36-
-I/opt/homebrew/opt/curl/include/curl
35+
-I/usr/include/x86_64-linux-gnu/ \
36+
-I/opt/homebrew/opt/curl/include/

0 commit comments

Comments
 (0)