diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-26 23:42:46 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-26 23:42:46 +0200 |
commit | 1ea718fb813a295219492f3a23d5f733bc71e5be (patch) | |
tree | d1e4c931e5284613db249ff7be0a60a854732db0 | |
parent | 321cfea3f348b4dd902d8a444c800a288578fffc (diff) | |
download | prosody-1ea718fb813a295219492f3a23d5f733bc71e5be.tar.gz prosody-1ea718fb813a295219492f3a23d5f733bc71e5be.zip |
configure, util-src/Makefile: Move OS X deployment flag to an C compiler argument set by configure
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | util-src/Makefile | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -112,6 +112,7 @@ do LUA_INCDIR_SET=yes LUA_LIBDIR=/usr/local/lib LUA_LIBDIR_SET=yes + CFLAGS="$CFLAGS -mmacosx-version-min=10.3" LDFLAGS="-bundle -undefined dynamic_lookup" fi if [ "$OSTYPE" = "linux" ]; then diff --git a/util-src/Makefile b/util-src/Makefile index d99c9515..8cf3b876 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -28,17 +28,14 @@ clean: rm -f $(ALL) encodings.so: encodings.o - MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) hashes.so: hashes.o - MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) .c.o: $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< .o.so: - MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(LD) -o $@ $< $(LDFLAGS) |