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:
		| @@ -68,3 +68,9 @@ def url_for_version(self, version): | |||||||
|     def cmake_args(self): |     def cmake_args(self): | ||||||
|         args = ['-DWITH_EXTERNAL_ZLIB=ON', '-DWITH_MYSQLCOMPAT=ON'] |         args = ['-DWITH_EXTERNAL_ZLIB=ON', '-DWITH_MYSQLCOMPAT=ON'] | ||||||
|         return args |         return args | ||||||
|  | 
 | ||||||
|  |     @property | ||||||
|  |     def libs(self): | ||||||
|  |         return find_libraries( | ||||||
|  |             ['libmariadb'], root=self.prefix, recursive=True, shared=True | ||||||
|  |         ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Glenn Johnson
					Glenn Johnson