From a8c1ef855655e7419e54317a8e782f3993d99f7d Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Wed, 13 Nov 2013 23:42:46 +0100 Subject: use LDLIBS instead of LDFLAGS LDLIBS are put behind the prerequisites by make's built-in rules so linking won't fail with --as-needed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d929b6c..378c33d 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ CXXFLAGS ?= -g -O2 -Wall -Wold-style-cast CXXFLAGS += -std=c++11 -LDFLAGS += -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle +LDLIBS = -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle all: ssh-agent-filter.1 afssh.1 ssh-askpass-noinput.1 -- cgit v1.2.3