[Openais] Fix compilation of openais on darwin

Alex Bligh alex at alex.org.uk
Wed Nov 26 04:53:25 PST 2008


Please accept the following patch which fixes compilation of openais 0.91
on darwin. This allows openais to compile on OS-X. I have not tested
whether it works. It probably needs applying to trunk too, but I have other
compilation problems compiling trunk right now.

The three things it fixes are restricted to the situation of OS-X
compilation (i.e. where OPENAIS_COMPAT is set to DARWIN), and hence
should not affect anything else.

1. COROSYNC_BIN is undefined when building openais. This breaks the
   bundle loader stuff for the darwin linker. Arguably this should
   be $(DESTDIR)$(PREFIX)/sbin/corosync. Not sure really.

2. libSaAmf.so build line was missing for Darwin builds, but not for
   non-Darwin builds.

3. Darwin build line for libSaEvt was truncated, meaning a.out was built
   instead.

I think these probably fall into the "obviously correct" category.

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openais-darwin-amb-1.patch
Type: application/octet-stream
Size: 1092 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20081126/57a8baa1/attachment.obj 


More information about the Openais mailing list