diff options
author | Joerg-Christian Boehme <[email protected]> | 2019-07-02 21:51:04 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2019-07-02 21:51:04 +0200 |
commit | 66b838af350e68a05318d65d21d822ef02440765 (patch) | |
tree | 2a77021a4a4c0754f6ae989eccac1a16800ff75a | |
parent | d73aa2df5441108c199d2c2a3e1c86f24d8673d2 (diff) |
makefile.in: move LDFLAGS after EXE_LINKS_TO
Move LDFLAGS after EXE_LINKS_TO to allow the user to give additional libraries such as libc++-static.a otherwise static build will fail in android.
-rw-r--r-- | src/build-data/makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/makefile.in b/src/build-data/makefile.in index 9c1d102d4..0e877c680 100644 --- a/src/build-data/makefile.in +++ b/src/build-data/makefile.in @@ -70,7 +70,7 @@ TESTOBJS = %{join test_objs} # Executable targets $(CLI): $(LIBRARIES) $(CLIOBJS) - $(EXE_LINK_CMD) $(ABI_FLAGS) $(LDFLAGS) $(CLIOBJS) $(EXE_LINKS_TO) %{output_to_exe}$@ + $(EXE_LINK_CMD) $(ABI_FLAGS) $(CLIOBJS) $(EXE_LINKS_TO) $(LDFLAGS) %{output_to_exe}$@ $(POST_LINK_CMD) $(TEST): $(LIBRARIES) $(TESTOBJS) |