libfuse: fix typo (#25104)

This caused both static and shared libraries to be disabled.
This commit is contained in:
Michael Kuhn 2021-07-27 10:28:21 +02:00 committed by GitHub
parent 520a465190
commit 1454935edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,9 +72,9 @@ def meson(self, spec, prefix):
"INIT_D_PATH={0}".format(self.prefix.etc),
]
args.append('--enable-static' if 'libs=static' in self.spec
args.append('--enable-static' if 'default_library=static' in self.spec
else '--disable-static')
args.append('--enable-shared' if 'libs=shared' in self.spec
args.append('--enable-shared' if 'default_library=shared' in self.spec
else '--disable-shared')
configure(*args)