aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-11-13 18:04:09 -0500
committerJack Lloyd <[email protected]>2020-11-13 18:04:09 -0500
commit639a5c4515a36bcbadb82145d755005620c535c3 (patch)
tree6f7a70bbaf98fe33efbf3f0ef5b0e02a51b8c4de /src
parent8130e32ebd1022516f5295d3f55bb5c50f250b8c (diff)
Fix use of -L flag when combined with --external-libdir
GH #2496
Diffstat (limited to 'src')
-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 4d68ab1ec..7a15979b6 100644
--- a/src/build-data/makefile.in
+++ b/src/build-data/makefile.in
@@ -20,7 +20,7 @@ LDFLAGS = %{ldflags}
EXE_LINK_CMD = %{exe_link_cmd}
-LIB_LINKS_TO = %{link_to}
+LIB_LINKS_TO = %{external_link_cmd} %{link_to}
EXE_LINKS_TO = %{link_to_botan} $(LIB_LINKS_TO)
BUILD_FLAGS = $(ABI_FLAGS) $(LANG_FLAGS) $(CXXFLAGS) $(WARN_FLAGS)