From fd788c6764251c76d9ddde3992d2114d9062e680 Mon Sep 17 00:00:00 2001 From: "Javier G. Sogo" Date: Fri, 17 Jun 2022 09:44:35 +0200 Subject: [PATCH] (#11239) gdk-pixbuf - Remove duplicated method (recipe linter) --- recipes/gdk-pixbuf/all/conanfile.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/recipes/gdk-pixbuf/all/conanfile.py b/recipes/gdk-pixbuf/all/conanfile.py index a0fc79879ef1f..e61f73f3bb996 100644 --- a/recipes/gdk-pixbuf/all/conanfile.py +++ b/recipes/gdk-pixbuf/all/conanfile.py @@ -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'" @@ -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