< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

[reSIProcate] More OS X fixes


Adam Roach wrote:
By the way, the buildconf script in c-ares doesn't work under OS X --
for some reason, the 'libtoolize' binary is available only under its
alternate name 'glibtoolize'. It would be quite a help if you could

Another OS X fix sits in the bugzilla since one week. Please also commit to the 1.4 branch.

https://www.resiprocate.org/bugzilla/show_bug.cgi?id=17

Thanks,
Gregor
Index: build/Makefile.pkg
===================================================================
--- build/Makefile.pkg  (revision 8296)
+++ build/Makefile.pkg  (working copy)
@@ -8,7 +8,11 @@
 ######################################################################
 
 ifeq ($(BUILD_SHARED_LIBS),yes)
+ifeq ($(OSTYPE),Darwin)
+LIBSUFFIX := dylib
+else
 LIBSUFFIX := so
+endif
 else
 LIBSUFFIX := a
 endif