aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg-Christian Boehme <[email protected]>2019-07-02 21:51:04 +0200
committerGitHub <[email protected]>2019-07-02 21:51:04 +0200
commit66b838af350e68a05318d65d21d822ef02440765 (patch)
tree2a77021a4a4c0754f6ae989eccac1a16800ff75a
parentd73aa2df5441108c199d2c2a3e1c86f24d8673d2 (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.in2
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)