зеркало из https://github.com/mozilla/gecko-dev.git
Fix for 105271
This commit is contained in:
Родитель
1b2af580fb
Коммит
fa25ff0952
|
@ -104,7 +104,20 @@ ifdef USE_DEBUG_RTL
|
|||
NSPR_CONFIGURE_OPTS += --enable-debug-rtl
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),OS2)
|
||||
#
|
||||
# Some pwd commands on Windows (for example, the pwd
|
||||
# command in Cygwin) return a pathname that begins
|
||||
# with a (forward) slash. When such a pathname is
|
||||
# passed to Windows build tools (for example, cl), it
|
||||
# is mistaken as a command-line option. If that is the case,
|
||||
# we use a relative pathname as NSPR's prefix on Windows.
|
||||
#
|
||||
|
||||
USEABSPATH=':'
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
USEABSPATH=$(findstring :,$(shell pwd))
|
||||
endif
|
||||
ifeq ($(USEABSPATH),':')
|
||||
NSPR_PREFIX = $(shell pwd)/../../dist/$(OBJDIR_NAME)
|
||||
else
|
||||
NSPR_PREFIX = $$(topsrcdir)/../dist/$(OBJDIR_NAME)
|
||||
|
|
Загрузка…
Ссылка в новой задаче