Add libs property/find_libraries to libiconv (#37962)
This commit is contained in:
parent
cb03db3d69
commit
6c4f8e62ae
@ -42,3 +42,8 @@ def configure_args(self):
|
|||||||
# A hack to patch config.guess in the libcharset sub directory
|
# A hack to patch config.guess in the libcharset sub directory
|
||||||
copy("./build-aux/config.guess", "libcharset/build-aux/config.guess")
|
copy("./build-aux/config.guess", "libcharset/build-aux/config.guess")
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
@property
|
||||||
|
def libs(self):
|
||||||
|
shared = "libs=shared" in self.spec
|
||||||
|
return find_libraries(["libiconv"], root=self.prefix, recursive=True, shared=shared)
|
||||||
|
Loading…
Reference in New Issue
Block a user