summaryrefslogtreecommitdiff
path: root/coreconf/Linux.mk
diff options
context:
space:
mode:
authorEdouard Oger <eoger@fastmail.com>2019-05-06 18:02:04 +0000
committerEdouard Oger <eoger@fastmail.com>2019-05-06 18:02:04 +0000
commitfd663970ec07c86b0bf279d67ac3dadc354cac6d (patch)
tree94f7113babe8fa70d4dd472a0e7029e79bcd355e /coreconf/Linux.mk
parent985e6c81a1bd08ccce01b167925357b809eea806 (diff)
downloadnss-hg-fd663970ec07c86b0bf279d67ac3dadc354cac6d.tar.gz
Bug 1549413 - Link against liblog on Android. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D30088
Diffstat (limited to 'coreconf/Linux.mk')
-rw-r--r--coreconf/Linux.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreconf/Linux.mk b/coreconf/Linux.mk
index bb9db413b..d321284d3 100644
--- a/coreconf/Linux.mk
+++ b/coreconf/Linux.mk
@@ -135,6 +135,10 @@ ifeq ($(KERNEL),Linux)
endif
OS_LIBS = $(OS_PTHREAD) -ldl -lc
+ifeq ($(OS_TARGET),Android)
+ OS_LIBS += -llog
+endif
+
ifdef USE_PTHREADS
DEFINES += -D_REENTRANT
endif