Skip to content

Commit

Permalink
(conan-io#15483) openssl: fix libdir for Android
Browse files Browse the repository at this point in the history
* Fix libdir for Android

When building libcurl it cannot find lcrypto and lssl because they
installed over lib64 and not lib.

* Update recipes/openssl/1.x.x/conanfile.py

Co-authored-by: SpaceIm <[email protected]>

* Update recipes/openssl/1.x.x/conanfile.py

Co-authored-by: SpaceIm <[email protected]>

---------

Co-authored-by: SpaceIm <[email protected]>
  • Loading branch information
2 people authored and StellaSmith committed Feb 2, 2023
1 parent 5e9fc37 commit f0f460e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recipes/openssl/1.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,7 @@ def _configure_args(self):
if self._full_version >= "1.1.0":
args.append("--debug" if self.settings.build_type == "Debug" else "--release")

if self.settings.os == "Linux" and self.settings.arch == "x86_64":
args.append("--libdir=lib") # See https://github.com/openssl/openssl/blob/master/INSTALL.md#libdir
args.append("--libdir=lib") # See https://github.com/openssl/openssl/blob/master/INSTALL.md#libdir

if self.settings.os in ["tvOS", "watchOS"]:
args.append(" -DNO_FORK") # fork is not available on tvOS and watchOS
Expand Down

0 comments on commit f0f460e

Please sign in to comment.