summaryrefslogtreecommitdiff
path: root/security/nss/cmd/swfort
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2001-04-25 16:35:25 +0000
committerrelyea%netscape.com <devnull@localhost>2001-04-25 16:35:25 +0000
commit5793623a3256fa269a7de8305325404d5869b986 (patch)
treed69a939499b41983b0a0626fc8e4ca3babe77271 /security/nss/cmd/swfort
parent6ba06b2bb5aef620a1abb2d0728161a45d372ead (diff)
downloadnss-hg-5793623a3256fa269a7de8305325404d5869b986.tar.gz
Fix NT build problems.
Diffstat (limited to 'security/nss/cmd/swfort')
-rw-r--r--security/nss/cmd/swfort/newuser/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/security/nss/cmd/swfort/newuser/Makefile b/security/nss/cmd/swfort/newuser/Makefile
index 88712ff1f..df2a863ed 100644
--- a/security/nss/cmd/swfort/newuser/Makefile
+++ b/security/nss/cmd/swfort/newuser/Makefile
@@ -51,10 +51,16 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
-# can't do this in manifest.mn because OS_ARCH isn't defined there.
+# can't do this in manifest.mn because OS_ARCH isn't defined ther
-EXTRA_LIBS += \
- $(shell $(MAKE) -C ../../../lib/fortcrypt --no-print-directory cilib_name) \
+ctmp := $(strip $(shell $(MAKE) -C ../../../lib/fortcrypt --no-print-directory cilib_name))
+ifeq ($(ctmp), $(patsubst /%,/,$(ctmp)))
+ CILIB := ../../../lib/fortcrypt/$(ctmp)
+else
+ CILIB := $(ctmp)
+endif
+
+EXTRA_LIBS += $(CILIB)
include ../../platlibs.mk