[ejabberd] building ejabberd on OS/X

Ian Holsman lists at holsman.net
Thu Jul 29 14:46:23 MSD 2004


I managed to build ejabberd on OS/X
the basic problem is that to build a shared library you have a slightly 
different syntax, this compiles.

$(ERLSHLIBS):   %.so:   %.c
            gcc -bundle -o $@ -Wall $(INCLUDES) $(CFLAGS) $(LDFLAGS) 
$(LIBDIRS) \
            $(subst ../,,$(subst .so,.c,$@)) \
            -lexpat \
            -lerl_interface \
            -lei  -fPIC -undefined dynamic_lookup


Regards
Ian.


More information about the ejabberd mailing list