Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opusfile: fix building for Android with http=True #26245

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
declare C language in recipe
  • Loading branch information
kambala-decapitator committed Jan 10, 2025
commit fd52e23ca4f2bc522d5cb704a67528d24313dc9a
5 changes: 2 additions & 3 deletions recipes/opusfile/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from conan.tools.microsoft import is_msvc, MSBuild, MSBuildDeps, MSBuildToolchain
import os

required_conan_version = ">=1.54.0"
required_conan_version = ">=2.4"


class OpusFileConan(ConanFile):
Expand All @@ -21,6 +21,7 @@ class OpusFileConan(ConanFile):
license = "BSD-3-Clause"
package_type = "library"
settings = "os", "arch", "compiler", "build_type"
languages = "C"
options = {
"shared": [True, False],
"fPIC": [True, False],
Expand Down Expand Up @@ -50,8 +51,6 @@ def config_options(self):
def configure(self):
if self.options.shared:
self.options.rm_safe("fPIC")
self.settings.rm_safe("compiler.cppstd")
self.settings.rm_safe("compiler.libcxx")

def layout(self):
basic_layout(self, src_folder="src")
Expand Down