def build_ext_args(self, spec, prefix):
        args = []

        if spec.satisfies('@:5 +libyaml'):
            args.extend([
                spec['libyaml'].libs.search_flags,
                spec['libyaml'].headers.include_flags,
            ])

        return args