libfuse: fix typo (#25104)
This caused both static and shared libraries to be disabled.
This commit is contained in:
parent
520a465190
commit
1454935edc
@ -72,9 +72,9 @@ def meson(self, spec, prefix):
|
|||||||
"INIT_D_PATH={0}".format(self.prefix.etc),
|
"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')
|
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')
|
else '--disable-shared')
|
||||||
|
|
||||||
configure(*args)
|
configure(*args)
|
||||||
|
Loading…
Reference in New Issue
Block a user