diff options
author | Marko Karppinen <markonen@php.net> | 2002-03-30 03:17:25 +0000 |
---|---|---|
committer | Marko Karppinen <markonen@php.net> | 2002-03-30 03:17:25 +0000 |
commit | 676afb33b852f6bad14d8a882ae6cbef8ce603f9 (patch) | |
tree | f46810c7c9798f9ded1c7fa50c1c7d17986ab315 /Makefile.global | |
parent | f43ca8d2bcc63fe34e950c193fea0fdaefdc1758 (diff) | |
download | php-git-676afb33b852f6bad14d8a882ae6cbef8ce603f9.tar.gz |
Enable --with-apxs build on Mac OS X. We build an MH_BUNDLE instead of
an MH_DYLIB. As all PPC code is relocatable, we don't use the libtool
based shared build but go a static route. Goodbye libtool!
# I'm committing this to enable widespear testing.
# Anyone have any ideas on how to easily backport this to 4.2.0?
Diffstat (limited to 'Makefile.global')
-rw-r--r-- | Makefile.global | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.global b/Makefile.global index 2799f41a66..7f221571c7 100644 --- a/Makefile.global +++ b/Makefile.global @@ -14,6 +14,9 @@ build-modules: $(PHP_MODULES) libphp4.la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ +libs/libphp4.bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) + $(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp4.so + php: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(LIBTOOL) --mode=link $(CC) -export-dynamic $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ |