diff options
author | Badlop <badlop@process-one.net> | 2009-03-07 09:52:26 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-03-07 09:52:26 +0000 |
commit | ad7bca0e783e09a63a9a21a56412124bbfe7e8df (patch) | |
tree | 7f1e928f634d32e13427b2d5bb554227257c464c /src/Makefile.in | |
parent | * src/ejabberd_c2s.erl: Enforce privacy rules also for (diff) |
* src/Makefile.in: In SunOS, use different C flags (thanks to
Thomas)(EJAB-438)
* src/ejabberd_zlib/Makefile.in: Likewise
* src/mod_irc/Makefile.in: Likewise
* src/stringprep/Makefile.in: Likewise
* src/tls/Makefile.in: Likewise
SVN Revision: 1977
Diffstat (limited to 'src/Makefile.in')
-rw-r--r-- | src/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index ac9412a1..1728e12f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -114,11 +114,13 @@ COOKIEFILE = $(SPOOLDIR)/.erlang.cookie # /var/log/ejabberd/ LOGDIR = $(DESTDIR)@localstatedir@/log/ejabberd -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 +ifeq ($(shell uname),Darwin) + DYNAMIC_LIB_CFLAGS = -fPIC -bundle -flat_namespace -undefined suppress +endif +ifeq ($(shell uname),SunOs) + DYNAMIC_LIB_CFLAGS = -KPIC -G -z text endif all: $(ERLSHLIBS) compile-beam all-recursive |