fix: android libssh fixes

This commit is contained in:
Yaroslav Gurov
2026-03-06 13:29:53 +01:00
parent 70d6f9996d
commit 8481367fb6
+1
View File
@@ -85,6 +85,7 @@ class LibsshLocal(ConanFile):
if self.settings.os == "Android":
if Version(self.settings.get_safe("os.api_level")) < 24:
tc.cache_variables["HAVE_IFADDRS_H"] = False
tc.cache_variables["HAVE_GLOB_H"] = False
tc.preprocessor_definitions["S_IWRITE"] = "S_IRUSR"
tc.preprocessor_definitions["S_IWRITE"] = "S_IWUSR"
tc.preprocessor_definitions["S_IEXEC"] = "S_IXUSR"