From 9933463097df9fe16e446a0744204dbe04223544 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Sun, 17 Nov 2013 14:05:54 +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 dbf5ab6..b3cbd47 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with hadori. If not, see . -LDFLAGS+=-lboost_program_options +LDLIBS=-lboost_program_options CXXFLAGS?=-O2 -Wall CXXFLAGS+=-std=c++0x CPPFLAGS+=-D_FILE_OFFSET_BITS=64 -- cgit v1.2.3