Skip to content

Commit

Permalink
Merge branch 'master' into qt-libpng-1.6.42
Browse files Browse the repository at this point in the history
  • Loading branch information
uilianries authored Feb 6, 2024
2 parents a857371 + b2df952 commit 047583a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions recipes/libiconv/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,19 @@ def generate(self):
env.generate()

tc = AutotoolsToolchain(self)
if self.settings.os == "Windows" and self.settings.compiler == "gcc":
if self.settings.arch == "x86":
tc.update_configure_args({
"--host": "i686-w64-mingw32",
"RC": "windres --target=pe-i386",
"WINDRES": "windres --target=pe-i386",
})
elif self.settings.arch == "x86_64":
tc.update_configure_args({
"--host": "x86_64-w64-mingw32",
"RC": "windres --target=pe-x86-64",
"WINDRES": "windres --target=pe-x86-64",
})
msvc_version = {"Visual Studio": "12", "msvc": "180"}
if is_msvc(self) and Version(self.settings.compiler.version) >= msvc_version[str(self.settings.compiler)]:
# https://github.com/conan-io/conan/issues/6514
Expand Down
4 changes: 4 additions & 0 deletions recipes/openssl/3.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class OpenSSLConan(ConanFile):
"386": [True, False],
"capieng_dialog": [True, False],
"enable_capieng": [True, False],
"enable_trace": [True, False],
"no_aria": [True, False],
"no_autoload_config": [True, False],
"no_asm": [True, False],
Expand Down Expand Up @@ -386,6 +387,9 @@ def _configure_args(self):
args.append("no-md2" if self.options.get_safe("no_md2", True) else "enable-md2")
args.append("-DOPENSSL_TLS_SECURITY_LEVEL=%s" % str(self.options.tls_security_level))

if self.options.get_safe("enable_trace"):
args.append("enable-trace")

if self.settings.os == "Neutrino":
args.append("no-asm -lsocket -latomic")

Expand Down

0 comments on commit 047583a

Please sign in to comment.