aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-23 12:57:45 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-23 12:57:45 +0000
commitd4b1477b4029bf5388d585e07be63c43a92918b2 (patch)
treebda2e19d1dbc166a38bae4998091fa287436ba19 /Makefile
parent62fbf4c1227ff54abd35fcbc444a305896ba628f (diff)
downloadioquake3-aero-d4b1477b4029bf5388d585e07be63c43a92918b2.tar.gz
ioquake3-aero-d4b1477b4029bf5388d585e07be63c43a92918b2.zip
-lz must be specified after object files using it
If it's specified first newer gcc resp the --as-needed option doesn't work. git-svn-id: svn://svn.icculus.org/quake3/trunk@1696 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 23b9949..d5fc8f7 100644
--- a/Makefile
+++ b/Makefile
@@ -880,7 +880,7 @@ endif
ifeq ($(USE_INTERNAL_ZLIB),1)
BASE_CFLAGS += -DNO_GZIP
else
- LDFLAGS += -lz
+ LIBS += -lz
endif
ifdef DEFAULT_BASEDIR