Change in ovirt-engine-sdk-ruby[master]: Add support for Mac OS X

juan.hernandez at redhat.com juan.hernandez at redhat.com
Sat Jul 30 19:47:13 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: Add support for Mac OS X
......................................................................


Add support for Mac OS X

Mac OS X includes a version of "libxml2" that doesn't include a
"pkg-config" configuration file. As a result buliding the gem fails
because it can't find the include files. To avoid that issue this patch
changes the build scripts so that they use the "xml2-config" utility
that is provided by all versions of "libxml", including the one
available in Mac OS X.

In addition the Xcode compiler is a bit more strict and complains about
multiple definitions of some varaibles, this patch fixes that as well.

Change-Id: If18e4373f32a774f33157f52089189341f6a9ffc
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M .gitignore
M sdk/ext/ovirtsdk4c/extconf.rb
M sdk/ext/ovirtsdk4c/ov_error.c
M sdk/ext/ovirtsdk4c/ov_error.h
M sdk/ext/ovirtsdk4c/ov_module.c
M sdk/ext/ovirtsdk4c/ov_module.h
M sdk/ext/ovirtsdk4c/ov_xml_reader.c
M sdk/ext/ovirtsdk4c/ov_xml_reader.h
M sdk/ext/ovirtsdk4c/ov_xml_writer.c
M sdk/ext/ovirtsdk4c/ov_xml_writer.h
10 files changed, 20 insertions(+), 5 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/61717
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If18e4373f32a774f33157f52089189341f6a9ffc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list