pixman: unconditional --with-pic (#45272)

This commit is contained in:
Harmen Stoppels 2024-07-17 16:02:50 +02:00 committed by GitHub
parent 77e16d55c1
commit a2f9d4b6a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,9 +32,6 @@ class Pixman(AutotoolsPackage):
depends_on("libpng")
variant("shared", default=True, description="Build shared library")
variant("pic", default=False, description="Enable position-independent code")
conflicts("+shared ~pic")
# As discussed here:
# https://bugs.freedesktop.org/show_bug.cgi?id=104886
@ -70,7 +67,7 @@ def libs(self):
)
def configure_args(self):
args = ["--enable-libpng", "--disable-gtk"]
args = ["--enable-libpng", "--disable-gtk", "--with-pic"]
if sys.platform == "darwin":
args += ["--disable-mmx", "--disable-silent-rules"]
@ -86,6 +83,5 @@ def configure_args(self):
args.append("--disable-arm-a64-neon")
args.extend(self.enable_or_disable("shared"))
args.extend(self.with_or_without("pic"))
return args