mariadb-c-client: fix location of libraries (#22873)
Override 'libs' property to search for expected library name: default Spack implementation can only locate libraries if they match the package name.
This commit is contained in:
parent
757528d5fb
commit
7960c05922
@ -68,3 +68,9 @@ def url_for_version(self, version):
|
||||
def cmake_args(self):
|
||||
args = ['-DWITH_EXTERNAL_ZLIB=ON', '-DWITH_MYSQLCOMPAT=ON']
|
||||
return args
|
||||
|
||||
@property
|
||||
def libs(self):
|
||||
return find_libraries(
|
||||
['libmariadb'], root=self.prefix, recursive=True, shared=True
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user