summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2010-07-30 02:51:59 +0000
committerwtc%google.com <devnull@localhost>2010-07-30 02:51:59 +0000
commit7318a8f64c2bb3ca9aa5d930f97f6a36dfee038c (patch)
tree7823b16414b0f0c84fe6c1d3925880c65bf21ebc /lib/tests
parent154ab6fa281753c73f95a77d9b696adaa77ab2ec (diff)
downloadnspr-hg-7318a8f64c2bb3ca9aa5d930f97f6a36dfee038c.tar.gz
Bug 557712: NSPR tests under lib/tests do not compile for Android.
The patch is contributed by Alex Pakhotin <alexp@mozilla.com>. r=wtc.
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tests/Makefile.in b/lib/tests/Makefile.in
index 7acb5e86..839fb540 100644
--- a/lib/tests/Makefile.in
+++ b/lib/tests/Makefile.in
@@ -162,6 +162,10 @@ EXTRA_LIBS = -lsocket -lnsl
export LD_RUN_PATH = $(PWD)/$(dist_libdir)
endif
+ifeq ($(OS_TARGET),Android)
+LDOPTS = $(OS_LDFLAGS) $(WRAP_MALLOC_LIB)
+endif
+
#####################################################
#
# The rules