Skip to content

Commit

Permalink
[fix, Android] thirdparty/zlib LDFLAGS typo (#880)
Browse files Browse the repository at this point in the history
Obviously it's not LD_FLAGS. Fixes <koreader/koreader#4833>.
  • Loading branch information
Frenzie committed Mar 25, 2019
1 parent 8e1f868 commit 313f1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/zlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ep_get_source_dir(SOURCE_DIR)
if($ENV{ANDROID})
assert_var_defined(CHOST)

set(LD_FLAGS "${LD_FLAGS} -shared -Wl,-soname,libz.so.1")
set(LDFLAGS "${LDFLAGS} -shared -Wl,-soname,libz.so.1")
# Only set CHOST for Android.
# This can't be done generically because otherwise you have to specify soname as well.
# See <https://github.com/koreader/koreader/issues/3523>.
Expand Down

0 comments on commit 313f1aa

Please sign in to comment.