This method is always called after `build_arch`. In case that we detect a library recipe, defined by the class attribute `built_libraries`, we will copy all defined libraries into the right location.
(self, arch)
| 604 | getattr(self, build)() |
| 605 | |
| 606 | def install_libraries(self, arch): |
| 607 | '''This method is always called after `build_arch`. In case that we |
| 608 | detect a library recipe, defined by the class attribute |
| 609 | `built_libraries`, we will copy all defined libraries into the |
| 610 | right location. |
| 611 | ''' |
| 612 | if not self.built_libraries: |
| 613 | return |
| 614 | shared_libs = [ |
| 615 | lib for lib in self.get_libraries(arch) if lib.endswith(".so") |
| 616 | ] |
| 617 | self.install_libs(arch, *shared_libs) |
| 618 | |
| 619 | def postbuild_arch(self, arch): |
| 620 | '''Run any post-build tasks for the Recipe. By default, this checks if |