termux-packages/packages/kphp/compiler-compiler-settings....

12 lines
356 B
Diff
Raw Normal View History

2022-01-13 13:07:28 +01:00
--- a/compiler/compiler-settings.cpp
+++ b/compiler/compiler-settings.cpp
@@ -127,7 +127,7 @@
void append_curl(std::string &cxx_flags, std::string &ld_flags) noexcept {
if (!contains_lib(ld_flags, "curl")) {
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__ANDROID__)
static_cast<void>(cxx_flags);
ld_flags += " -lcurl";
#else