Change in ovirt-engine-sdk-ruby[master]: Use 'curl-config' to detect libcurl if possible

From Juan Hernandez <juan.hernandez@redhat.com>:
Juan Hernandez has submitted this change and it was merged. Change subject: Use 'curl-config' to detect libcurl if possible ...................................................................... Use 'curl-config' to detect libcurl if possible Currently the build process of the SDK expects the 'pkg-config' file of the 'libcurl' library to be available, otherwise the build will fail. In some environments (macOS, for example) this may not be available. But curl also provides a 'curl-config' script, with similar capabilities, that seems to be more widely available. This patch changes the 'extconf.rb' file, so that it first tries with this script, and, if it fails, then tries with the 'pkg-config' mechanism. Change-Id: I73e04663cfff34e7bc34d02d4a9b7493df4445b3 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M sdk/ext/ovirtsdk4c/extconf.rb 1 file changed, 17 insertions(+), 7 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/71823 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I73e04663cfff34e7bc34d02d4a9b7493df4445b3 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk-ruby Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review