patch for building shared library on OS X
Iñaki Baz Castillo
ibc at aliax.net
Fri Aug 19 17:45:03 MSD 2011
2011/8/18 Nick Barkas <snb at spotify.com>:
> Hi-
> I saw that there was a message on this list a few months back about
> not being able to build UDNS as a shared library on OS X. I have a
> patch to Makefile.in that makes this work by building a new dylib make
> target.
>
> Hope this helps!
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.
Thanks a lot.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the udns
mailing list