Skip to content

Commit

Permalink
(#11239) gdk-pixbuf - Remove duplicated method (recipe linter)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgsogo committed Jun 17, 2022
1 parent 26da14c commit fd788c6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions recipes/gdk-pixbuf/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ def configure(self):
if self.options.shared:
self.options["glib"].shared = True

def validate(self):
if self.options.shared and not self.options["glib"].shared:
raise ConanInvalidConfiguration(
"Linking a shared library against static glib can cause unexpected behaviour."
)

def requirements(self):
if self.settings.compiler == "clang":
# FIXME: cannot bump glib due to "undefined reference to `__muloti4'"
Expand All @@ -79,6 +73,10 @@ def requirements(self):
self.requires("libjpeg/9d")

def validate(self):
if self.options.shared and not self.options["glib"].shared:
raise ConanInvalidConfiguration(
"Linking a shared library against static glib can cause unexpected behaviour."
)
if self.settings.os == "Macos":
# when running gdk-pixbuf-query-loaders
# dyld: malformed mach-o: load commands size (97560) > 32768
Expand Down

0 comments on commit fd788c6

Please sign in to comment.