Skip to content

Commit 791a55c

Browse files
committed
Always build with -lcurl on GNU/Linux
Rather than checking for specific targets, always build with -lcurl if the userspace environment is GNU/Linux.
1 parent c41f353 commit 791a55c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
]
8282

8383
triple = Configuration.current.target.triple
84-
if triple == "x86_64-linux-gnu" or triple == "armv7-none-linux-androideabi" or triple == "s390x-linux-gnu":
84+
if triple.endswith("-linux-gnu") or triple == "armv7-none-linux-androideabi":
8585
foundation.LDFLAGS += '-lcurl '
8686

8787
if triple == "armv7-none-linux-androideabi":

0 commit comments

Comments
 (0)