Skip to content

Commit

Permalink
xz_utils: delete fPIC in config_options
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Apr 9, 2020
1 parent 55f92b5 commit 62426cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes/xz_utils/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ def _effective_msbuild_type(self):
# treat "RelWithDebInfo" and "MinSizeRel" as "Release"
return "Debug" if self.settings.build_type == "Debug" else "Release"

def config_options(self):
if self.settings.os == "Windows":
del self.options.fPIC

def configure(self):
del self.settings.compiler.cppstd
del self.settings.compiler.libcxx
if self.settings.compiler == "Visual Studio":
del self.options.fPIC

def _apply_patches(self):
# Relax Windows SDK restriction
Expand Down

0 comments on commit 62426cc

Please sign in to comment.