Permit shared-library for libbacktrace (#41454)

This commit is contained in:
Kyle Knoepfel 2023-12-07 12:17:31 -06:00 committed by GitHub
parent d7406aaaa5
commit 14392efc6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,14 @@ class Libbacktrace(AutotoolsPackage):
version("master", branch="master")
version("2020-02-19", commit="ca0de0517f3be44fedf5a2c01cfaf6437d4cae68")
variant("shared", default=False, description="Additionally build shared library")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
depends_on("m4", type="build")
def configure_args(self):
args = []
args.extend(self.enable_or_disable("shared"))
return args