Skip to content

Commit

Permalink
Merge pull request #194 from chrox/master
Browse files Browse the repository at this point in the history
fix undefined symbol from libmujs when loading mupdf on Android
  • Loading branch information
hwhw committed Jul 1, 2014
2 parents 9eeaed7 + ffaf1bc commit 3672c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ $(MUPDF_LIB): $(JPEG_LIB) $(FREETYPE_LIB)
$(CFLAGS) \
-Wl,-E -Wl,-rpath,'$$ORIGIN' \
-Wl,--whole-archive $(MUPDF_LIB_STATIC) \
-Wl,--whole-archive $(MUPDF_JS_LIB_STATIC) \
-Wl,--no-whole-archive $(MUPDF_THIRDPARTY_LIBS) \
-Wl,-soname=$(notdir $(MUPDF_LIB)) \
$(JPEG_LIB) $(FREETYPE_LIB) \
Expand Down
2 changes: 1 addition & 1 deletion Makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ MUPDF_DIR=mupdf
Z_LIB=$(MUPDF_LIB_DIR)/libz.a
MUPDF_LIB_DIR=$(MUPDF_DIR)/build/release
MUPDF_LIB_STATIC=$(MUPDF_LIB_DIR)/libmupdf.a
MUPDF_JS_LIB_STATIC=$(MUPDF_LIB_DIR)/libmupdf-js-none.a
MUPDF_JS_LIB_STATIC=$(MUPDF_LIB_DIR)/libmujs.a
MUPDF_THIRDPARTY_LIBS=$(MUPDF_LIB_DIR)/libopenjpeg.a \
$(MUPDF_LIB_DIR)/libjbig2dec.a \
$(Z_LIB)
Expand Down

0 comments on commit 3672c27

Please sign in to comment.