Skip to content

Commit

Permalink
imagemagick: disable apple-clang shared
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed May 19, 2024
1 parent 7aaea6b commit 0725f91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes/imagemagick/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ def validate(self):
raise ConanInvalidConfiguration("with_lcms option is currently not supported on MSVC")
if self.options.with_pango:
raise ConanInvalidConfiguration("with_pango option is currently not supported on MSVC")
if self.settings.compiler == "apple-clang" and cross_building(self):
raise ConanInvalidConfiguration("Cross-building on apple-clang is not supported")
if self.settings.compiler == "apple-clang" and self.options.shared:
# configure: error: cannot run C compiled programs.
raise ConanInvalidConfiguration("Shared build is not supported on apple-clang. Contributions are welcome.")


def build_requirements(self):
Expand Down

0 comments on commit 0725f91

Please sign in to comment.