patch for building shared library on OS X
Iñaki Baz Castillo
ibc at aliax.net
Sat Aug 20 16:15:10 MSD 2011
2011/8/19 Iñaki Baz Castillo <ibc at aliax.net>:
> Hi Nick, I suffer this issue. I'm not OSX user, but my Ruby GEM on top
> of udns cannot be installed under Mac OSX 64 bits. I will try to find
> Ruby and MacOSX user for testing my Gem including your patch for udns
> dynamic compilation.
>
> BTW, I assume that you have tested your patch by doing:
>
> ./configure
> make dylib
>
> After that, are you able to run "ar r libudns.a *.lo" so libudns.a is
> generated? Under Linux I must run it when compiling the Ruby C
> extension:
>
> ./configure
> make sharedlib
> ar r libudns.a *.lo
>
> It produces a libudns.a. I take it and the udns.h and move it to my
> code sources to be compiled as a Ruby C extension.
Hi, this has been tested under a Mac OSX and compiles fine.
Thanks a lot.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the udns
mailing list