diff options
Diffstat (limited to 'config/config.mk')
-rw-r--r-- | config/config.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/config.mk b/config/config.mk index 623a0aae..815291a1 100644 --- a/config/config.mk +++ b/config/config.mk @@ -76,6 +76,10 @@ endef LINK_DLL = $(LD) $(OS_DLLFLAGS) $(DLLFLAGS) +ifeq ($(OS_ARCH),Darwin) +PWD := $(shell pwd) +endif + ifneq (,$(filter WINNT OS2, $(OS_ARCH))) INSTALL = $(NSINSTALL) else @@ -85,7 +89,11 @@ INSTALL = $(NSINSTALL) -t else ifeq ($(NSDISTMODE),absolute_symlink) # install using absolute symbolic links +ifeq ($(OS_ARCH),Darwin) +INSTALL = $(NSINSTALL) -L $(PWD) +else INSTALL = $(NSINSTALL) -L `$(NFSPWD)` +endif else # install using relative symbolic links INSTALL = $(NSINSTALL) -R @@ -127,6 +135,10 @@ ifeq ($(USE_IPV6),1) DEFINES += -D_PR_INET6 endif +ifeq ($(MOZ_UNICODE),1) +DEFINES += -DMOZ_UNICODE +endif + #################################################################### # # Configuration for the release process |