1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-12 15:30:45 +00:00
termux-packages/disabled-packages/kphp/compiler-compiler-settings.cpp.patch
Tee KOBAYASHI 1bbe66e98a kphp: Disabled
Incompatible with latest libuber-h3. A whole bunch of patches are quite
unmaintainable.

kphp-timelib is also disabled as only kphp depends on it.
2022-11-17 18:08:03 +00:00

12 lines
356 B
Diff

--- 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