Only force the use of absolute symlinks on Darwin when building Mozilla.
authorseawood%netscape.com
Wed, 26 Feb 2003 00:48:56 +0000
changeset 2723 872dc0b730fe90762548cd741f6a7bd22c36d998
parent 2721 1c15711277ca0c0a610bc7f57e72899d0e9e943c
child 2724 9165b1f96a5461f258683008b1a3121cd1c6e63a
push idunknown
push userunknown
push dateunknown
bugs193164
Only force the use of absolute symlinks on Darwin when building Mozilla. Bug #193164 r=wtc
Makefile.in
config/config.mk
--- a/Makefile.in
+++ b/Makefile.in
@@ -43,16 +43,22 @@ include $(MOD_DEPTH)/config/autoconf.mk
 
 MAKE := $(patsubst -j%,,$(MAKE)) -j1
 
 DIRS = config pr lib
 
 ifdef MOZILLA_CLIENT
 PR_CLIENT_BUILD = 1
 PR_CLIENT_BUILD_UNIX = 1
+ifeq ($(OS_ARCH),Darwin)
+ifndef NSDISTMODE
+NSDISTMODE=absolute_symlink
+export NSDISTMODE
+endif
+endif
 endif
 
 DIST_GARBAGE = config.cache config.log config.status
 
 all:: config.status export
 
 include $(topsrcdir)/config/rules.mk
 
--- a/config/config.mk
+++ b/config/config.mk
@@ -72,19 +72,16 @@ LDFLAGS		= $(OS_LDFLAGS)
 
 define MAKE_OBJDIR
 if test ! -d $(@D); then rm -rf $(@D); $(NSINSTALL) -D $(@D); fi
 endef
 
 LINK_DLL	= $(LD) $(OS_DLLFLAGS) $(DLLFLAGS)
 
 ifeq ($(OS_ARCH),Darwin)
-ifndef NSDISTMODE
-NSDISTMODE=absolute_symlink
-endif
 PWD := $(shell pwd)
 endif
 
 ifneq (,$(filter WINNT OS2, $(OS_ARCH)))
 INSTALL		= $(NSINSTALL)
 else
 ifeq ($(NSDISTMODE),copy)
 # copy files, but preserve source mtime