Skip to content

Commit

Permalink
readline: add deps generation
Browse files Browse the repository at this point in the history
  • Loading branch information
wbehrens-on-gh authored and William Behrens committed Mar 13, 2023
1 parent fa09953 commit ef2e6b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/readline/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from conan.tools.build import cross_building
from conan.tools.layout import basic_layout
from conan.tools.microsoft import is_msvc
from conan.tools.gnu import AutotoolsToolchain, Autotools
from conan.tools.gnu import AutotoolsToolchain, AutotoolsDeps, Autotools
from conan.errors import ConanInvalidConfiguration

required_conan_version = ">=1.53.0"
Expand Down Expand Up @@ -63,6 +63,8 @@ def generate(self):
if cross_building(self):
tc.configure_args.append("bash_cv_wcwidth_broken=yes")
tc.generate()
deps = AutotoolsDeps(self)
deps.generate()

def _patch_sources(self):
replace_in_file(self, os.path.join(self.source_folder, "shlib", "Makefile.in"), "-o $@ $(SHARED_OBJ) $(SHLIB_LIBS)",
Expand Down

0 comments on commit ef2e6b0

Please sign in to comment.