about summary refs log tree commit diff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2017-01-24T22·42+0000
committerNiklas Hambüchen <mail@nh2.me>2019-07-03T02·32+0200
commitfe068eca00d6a2dd2ea9ee08924dc3898c37fb6c (patch)
tree6fe4a473c0e554c64f6fb66125d8cb8ab75c0e4b /Makefile.config.in
parent57daa860e8ed8432937aeecdcf6b9e952b0481b1 (diff)
mk: add support for passing LDFLAGS to libs and bins
autotools-based systems usually allow user to
append own LDFLAGS like
    LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
at ./configure stage

This change plumbs LDFLAGS through similar to existing CXXFLAGS variable.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 59730b646387..eabf1a426eb8 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -5,6 +5,7 @@ CC = @CC@
 CFLAGS = @CFLAGS@
 CXX = @CXX@
 CXXFLAGS = @CXXFLAGS@
+LDFLAGS = @LDFLAGS@
 ENABLE_S3 = @ENABLE_S3@
 HAVE_SODIUM = @HAVE_SODIUM@
 HAVE_READLINE = @HAVE_READLINE@