зеркало из https://github.com/mozilla/gecko-dev.git
Bug 673940: Don't accidentally overwrite the environment's PYTHONPATH. r=ted
This commit is contained in:
Родитель
c4c33c7ccf
Коммит
e29d01fd7b
|
@ -164,10 +164,10 @@ SLEEP ?= sleep
|
|||
TOUCH ?= touch
|
||||
|
||||
ifndef .PYMAKE
|
||||
PYTHONPATH = $(PYTHON) $(topsrcdir)/config/pythonpath.py
|
||||
PYTHON_PATH = $(PYTHON) $(topsrcdir)/config/pythonpath.py
|
||||
else
|
||||
PYCOMMANDPATH += $(topsrcdir)/config
|
||||
PYTHONPATH = %pythonpath main
|
||||
PYTHON_PATH = %pythonpath main
|
||||
endif
|
||||
|
||||
# determine debug-related options
|
||||
|
|
|
@ -1537,7 +1537,7 @@ XPIDL_DEPS = \
|
|||
|
||||
$(XPIDL_GEN_DIR)/%.h: %.idl $(XPIDL_DEPS) $(XPIDL_GEN_DIR)/.done
|
||||
$(REPORT_BUILD)
|
||||
$(PYTHONPATH) \
|
||||
$(PYTHON_PATH) \
|
||||
-I$(topsrcdir)/other-licenses/ply \
|
||||
-I$(topsrcdir)/xpcom/idl-parser \
|
||||
$(topsrcdir)/xpcom/idl-parser/header.py --cachedir=$(topsrcdir)/xpcom/idl-parser $(XPIDL_FLAGS) $(_VPATH_SRCS) -d $(MDDEPDIR)/$(@F).pp -o $@
|
||||
|
|
|
@ -164,10 +164,10 @@ SLEEP ?= sleep
|
|||
TOUCH ?= touch
|
||||
|
||||
ifndef .PYMAKE
|
||||
PYTHONPATH = $(PYTHON) $(topsrcdir)/config/pythonpath.py
|
||||
PYTHON_PATH = $(PYTHON) $(topsrcdir)/config/pythonpath.py
|
||||
else
|
||||
PYCOMMANDPATH += $(topsrcdir)/config
|
||||
PYTHONPATH = %pythonpath main
|
||||
PYTHON_PATH = %pythonpath main
|
||||
endif
|
||||
|
||||
# determine debug-related options
|
||||
|
|
|
@ -1537,7 +1537,7 @@ XPIDL_DEPS = \
|
|||
|
||||
$(XPIDL_GEN_DIR)/%.h: %.idl $(XPIDL_DEPS) $(XPIDL_GEN_DIR)/.done
|
||||
$(REPORT_BUILD)
|
||||
$(PYTHONPATH) \
|
||||
$(PYTHON_PATH) \
|
||||
-I$(topsrcdir)/other-licenses/ply \
|
||||
-I$(topsrcdir)/xpcom/idl-parser \
|
||||
$(topsrcdir)/xpcom/idl-parser/header.py --cachedir=$(topsrcdir)/xpcom/idl-parser $(XPIDL_FLAGS) $(_VPATH_SRCS) -d $(MDDEPDIR)/$(@F).pp -o $@
|
||||
|
|
Загрузка…
Ссылка в новой задаче