Skip to content

Commit

Permalink
Force using mozglue with the static library.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Apr 2, 2019
1 parent 6e93814 commit af7f58d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions makefile.cargo
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CONFIGURE_FLAGS := \
--disable-jemalloc \
--disable-js-shell \
--disable-tests \
--disable-shared-js \
--build-backends=RecursiveMake

ifneq ($(HOST),$(TARGET))
Expand Down
1 change: 1 addition & 0 deletions mozjs/js/src/build/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ if CONFIG['JS_SHARED_LIBRARY']:
SYMBOLS_FILE = '!symverscript'
else:
Library('js')
USE_LIBS += ['mozglue']

FORCE_STATIC_LIB = True
STATIC_LIBRARY_NAME = 'js_static'
Expand Down

0 comments on commit af7f58d

Please sign in to comment.