diff options
| author | Mickaël Rémond <mickael.remond@process-one.net> | 2006-08-28 14:56:13 +0000 |
|---|---|---|
| committer | Mickaël Rémond <mickael.remond@process-one.net> | 2006-08-28 14:56:13 +0000 |
| commit | a7f22bfdedb8470d757894f2bab6776341cf8458 (patch) | |
| tree | bfb8037aa88ac621dcf3dcc8ac85aaecefe6a426 /src/Makefile.in | |
| parent | * src/mod_muc/mod_muc_room.erl: Fixed logging configuring (diff) | |
* Makefile.in: Fix for MacOSX compilation (EJAB-124).
* ejabberd_zlib/Makefile.in: Likewise.
* mod_irc/Makefile.in: Likewise.
* stringprep/Makefile.in: Likewise.
* tls/Makefile.in: Likewise.
SVN Revision: 596
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 9ccbe79a9..9b6095be0 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -44,6 +44,13 @@ ETCDIR = $(DESTDIR)@prefix@/etc/ejabberd ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj +ifeq ($(shell uname),Darwin) +DYNAMIC_LIB_CFLAGS = -fPIC -bundle -flat_namespace -undefined suppress +else +# Assume Linux-style dynamic library flags +DYNAMIC_LIB_CFLAGS = -fpic -shared +endif + all: $(ERLSHLIBS) compile-beam all-recursive compile-beam: XmppAddr.hrl $(BEAMS) @@ -70,7 +77,7 @@ $(ERLSHLIBS): %.so: %.c $(subst ../,,$(subst .so,.c,$@)) \ $(EXPAT_LIBS) $(EXPAT_CFLAGS) \ $(ERLANG_LIBS) $(ERLANG_CFLAGS) \ - -o $@ -fpic -shared + -o $@ $(DYNAMIC_LIB_CFLAGS) install: all install -d $(BEAMDIR) |
