From a49eee8559083442b5b647d27158ecd8e4b3aebe Mon Sep 17 00:00:00 2001 From: Cesare Falco Date: Thu, 29 Jan 2015 12:55:14 +0100 Subject: [PATCH] *nix: Fixed linking tools against system libraries --- makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makefile b/makefile index 66760d2574f..9a762b8d259 100644 --- a/makefile +++ b/makefile @@ -756,6 +756,7 @@ INCPATH += -I$(3RDPARTY)/zlib ZLIB = $(OBJ)/libz.a else LIBS += -lz +BASELIBS += -lz ZLIB = endif @@ -766,6 +767,7 @@ FLAC_LIB = $(OBJ)/libflac.a # $(OBJ)/libflac++.a else LIBS += -lFLAC +BASELIBS += -lFLAC FLAC_LIB = endif