summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-06-15 21:38:56 +0000
committerwtc%netscape.com <devnull@localhost>2001-06-15 21:38:56 +0000
commit799f691f35c69d13aeab80c2a2ad7f8d9c6dbe8b (patch)
treec657600176815b9d007f342028f2c185651d6e26
parent8c00fa3e268d9604261520d56de868865249d5f8 (diff)
downloadnss-hg-799f691f35c69d13aeab80c2a2ad7f8d9c6dbe8b.tar.gz
Bugzilla bug #85960: avoid using a pathname with a trailing / because the
'mkdir' command on BSD/OS 4.2 doesn't like it. r=javi. a=blizzard.
-rw-r--r--security/coreconf/location.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/coreconf/location.mk b/security/coreconf/location.mk
index d235272ab..e27de152c 100644
--- a/security/coreconf/location.mk
+++ b/security/coreconf/location.mk
@@ -40,10 +40,16 @@
#
ifdef BUILD_TREE
+ifdef LIBRARY_NAME
BUILD = $(BUILD_TREE)/nss/$(LIBRARY_NAME)
OBJDIR = $(BUILD_TREE)/nss/$(LIBRARY_NAME)
DEPENDENCIES = $(BUILD_TREE)/nss/$(LIBRARY_NAME)/.md
else
+BUILD = $(BUILD_TREE)/nss
+OBJDIR = $(BUILD_TREE)/nss
+DEPENDENCIES = $(BUILD_TREE)/nss/.md
+endif
+else
BUILD = $(PLATFORM)
OBJDIR = $(PLATFORM)
DEPENDENCIES = $(PLATFORM)/.md