summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Cesare Falco <c.falco@ubuntu.com>2015-01-29 12:55:14 +0100
committer Cesare Falco <c.falco@ubuntu.com>2015-01-29 12:55:14 +0100
commita49eee8559083442b5b647d27158ecd8e4b3aebe (patch)
tree02ea7479b894673091b2083bdb5330007d67706e
parent916aaee5b6557b0949a544ad6751ff3efb6b5a45 (diff)
*nix: Fixed linking tools against system libraries
-rw-r--r--makefile2
1 files changed, 2 insertions, 0 deletions
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