mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Backed out changeset b538734b6a17 (bug 1243349) for bustage on a CLOSED TREE
This commit is contained in:
parent
a7a57e33be
commit
10d60e258b
@ -159,9 +159,8 @@ if test -n "$MOZ_NATIVE_NSPR" -o -n "$NSPR_CFLAGS" -o -n "$NSPR_LIBS"; then
|
||||
elif test -z "$JS_POSIX_NSPR"; then
|
||||
NSPR_CFLAGS="-I${DIST}/include/nspr"
|
||||
if test -n "$GNU_CC"; then
|
||||
NSPR_LIBS="-L${DIST}/bin -lnspr${NSPR_VERSION} -lplc${NSPR_VERSION} -lplds${NSPR_VERSION}"
|
||||
NSPR_LIBS="-L${DIST}/lib -lnspr${NSPR_VERSION} -lplc${NSPR_VERSION} -lplds${NSPR_VERSION}"
|
||||
else
|
||||
# NSS needs actual static libs to link to, and this is where they are.
|
||||
NSPR_LIBS="${DIST}/lib/nspr${NSPR_VERSION}.lib ${DIST}/lib/plc${NSPR_VERSION}.lib ${DIST}/lib/plds${NSPR_VERSION}.lib "
|
||||
fi
|
||||
fi
|
||||
|
9
config/external/nss/Makefile.in
vendored
9
config/external/nss/Makefile.in
vendored
@ -87,22 +87,17 @@ endif
|
||||
|
||||
# For all variables such as DLLFLAGS, that may contain $(DIST)
|
||||
DIST := $(ABS_DIST)
|
||||
ifdef MOZ_BUILD_NSPR
|
||||
NSPR_INCLUDE_DIR = $(ABS_DIST)/include/nspr
|
||||
NSPR_LIB_DIR = $(ABS_DIST)/bin
|
||||
else
|
||||
NSPR_INCLUDE_DIR = $(firstword $(filter -I%,$(NSPR_CFLAGS)))
|
||||
ifneq (,$(strip $(NSPR_INCLUDE_DIR)))
|
||||
NSPR_INCLUDE_DIR := $(subst -I,,$(subst -I$(DIST),-I$(ABS_DIST),$(NSPR_INCLUDE_DIR)))
|
||||
else
|
||||
$(error Your NSPR CFLAGS are broken!)
|
||||
NSPR_INCLUDE_DIR = $(ABS_DIST)/include/nspr
|
||||
endif
|
||||
NSPR_LIB_DIR = $(firstword $(filter -L%,$(NSPR_LIBS)))
|
||||
ifneq (,$(strip $(NSPR_LIB_DIR)))
|
||||
NSPR_LIB_DIR := $(subst -L,,$(subst -L$(DIST),-L$(ABS_DIST),$(NSPR_LIB_DIR)))
|
||||
else
|
||||
$(error Your NSPR LDFLAGS are broken!)
|
||||
endif
|
||||
NSPR_LIB_DIR = $(ABS_DIST)/lib
|
||||
endif
|
||||
|
||||
# To get debug symbols from NSS
|
||||
|
Loading…
Reference in New Issue
Block a user