Skip to content

Commit

Permalink
force enable-shared if not passed already (conan < 1.49 ?)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Jul 6, 2022
1 parent 39d4865 commit 44617d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/ruby/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def generate(self):
if self.options.shared and not is_msvc(self):
# Force fPIC
tc.fpic = True
if "--enable-shared" not in tc.configure_args:
tc.configure_args.append("--enable-shared")

if cross_building(self) and is_apple_os(self.settings.os):
apple_arch = to_apple_arch(self.settings.arch)
Expand Down

0 comments on commit 44617d1

Please sign in to comment.