Skip to content

Commit

Permalink
onnxruntime: OpenSSL flags
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Nov 3, 2023
1 parent d134df2 commit 11d54da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/libest/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def source(self):

def generate(self):
tc = AutotoolsToolchain(self)
tc.configure_args.append(f"--with-ssl-dir={self.dependencies['openssl'].package_folder}")
openssl = self.dependencies["openssl"]
tc.configure_args.append(f"--with-ssl-dir={unix_path(self, openssl.package_folder)}")
tc.extra_cflags.append("-I" + unix_path(self, openssl.cpp_info.includedir))
tc.extra_ldflags.append("-L" + unix_path(self, openssl.cpp_info.libdir))
tc.generate()

def _patch_sources(self):
Expand Down

0 comments on commit 11d54da

Please sign in to comment.