Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1549413 - Link against liblog on Android. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D30088

--HG--
extra : moz-landing-system : lando
  • Loading branch information
eoger committed May 6, 2019
1 parent e0bab5b commit 0349485
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions coreconf/Linux.mk
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions coreconf/config.gypi
Expand Up @@ -166,6 +166,11 @@
'-lc',
],
}],
[ 'OS=="android"', {
'libraries': [
'-llog',
],
}],
[ 'fuzz==1', {
'variables': {
'debug_optimization_level%': '1',
Expand Down

0 comments on commit 0349485

Please sign in to comment.