summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-02-26 20:41:06 +0000
committerwtc%netscape.com <devnull@localhost>1999-02-26 20:41:06 +0000
commitc3e332d8d49b40ca905d28ed5788e4818bacd859 (patch)
treeae5001361ddae28d391b04bdd4efb17d740e72df /lib/tests
parent298799c1ddea4c3fd9b7aa0f4b1f7424836f6184 (diff)
downloadnspr-hg-c3e332d8d49b40ca905d28ed5788e4818bacd859.tar.gz
Landing of miscellaneous changes, including the new error code to
string function contributed by John Myers <jgmyers@netscape.com>.
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/tests/Makefile b/lib/tests/Makefile
index 445fce56..af284287 100644
--- a/lib/tests/Makefile
+++ b/lib/tests/Makefile
@@ -74,6 +74,17 @@ ifeq ($(OS_ARCH), IRIX)
LDOPTS += -rpath $(PWD)/$(DIST)/lib
endif
+ifeq ($(OS_ARCH), Linux)
+ ifeq ($(OS_RELEASE), 1.2)
+ EXTRA_LIBS = -ldl
+ else
+ LDOPTS += -Xlinker -rpath $(PWD)/$(DIST)/lib
+ ifeq ($(USE_PTHREADS),1)
+ EXTRA_LIBS = -lpthread
+ endif
+ endif
+endif
+
ifeq ($(OS_ARCH), OSF1)
LDOPTS += -rpath $(PWD)/$(DIST)/lib -lpthread
endif