Skip to content

Commit

Permalink
Use user_info.ar_lib as a workaround
Browse files Browse the repository at this point in the history
Should be reverted once conan-io#12898
has been merged

Contribute to CURA-9628 and CURA-9575
  • Loading branch information
jellespijker committed Sep 14, 2022
1 parent 601b6e0 commit c42f0ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/libffi/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def generate(self):
env.define_path("CC", msvcc)
env.define("CXXCPP", "cl -nologo -EP")
env.define("CPP", "cl -nologo -EP")
env.define("AR", f"{unix_path(self, self.conf.get('tools.automake:ar-lib'))} lib")
# env.define("AR", f"{unix_path(self, self.conf.get('tools.automake:ar-lib'))} lib") FIXME: Use the conf once https://github.com/conan-io/conan-center-index/pull/12898 is merged
env.define("AR", f"{unix_path(self, self.deps_user_info['automake'].ar_lib)} lib")
env.define("LD", "link")
env.define("LIBTOOL", unix_path(self, str(self.source_path.joinpath("ltmain.sh"))))
env.define("INSTALL", unix_path(self, str(self.source_path.joinpath("install-sh"))))
Expand Down

0 comments on commit c42f0ed

Please sign in to comment.