Skip to content

Commit 3f9a9f3

Browse files
fix building for Android with http=True
1 parent 4622ac8 commit 3f9a9f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recipes/opusfile/all/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ def build(self):
135135
msbuild.platform = "Win32" if self.settings.arch == "x86" else msbuild.platform
136136
msbuild.build(os.path.join(sln_folder, "opusfile.sln"), targets=["opusfile"])
137137
else:
138+
if self.settings.os == "Android":
139+
replace_in_file(self, os.path.join(self.source_folder, "configure.ac"), "c89", "c99")
140+
138141
autotools = Autotools(self)
139142
autotools.autoreconf()
140143
autotools.configure()

0 commit comments

Comments
 (0)