[quake3-commits] r1696 - trunk
    DONOTREPLY at icculus.org 
    DONOTREPLY at icculus.org
       
    Fri Oct 23 08:57:45 EDT 2009
    
    
  
Author: ludwig
Date: 2009-10-23 08:57:45 -0400 (Fri, 23 Oct 2009)
New Revision: 1696
Modified:
   trunk/Makefile
Log:
-lz must be specified after object files using it
If it's specified first newer gcc resp the --as-needed option
doesn't work.
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2009-10-23 12:30:00 UTC (rev 1695)
+++ trunk/Makefile	2009-10-23 12:57:45 UTC (rev 1696)
@@ -880,7 +880,7 @@
 ifeq ($(USE_INTERNAL_ZLIB),1)
   BASE_CFLAGS += -DNO_GZIP
 else
-  LDFLAGS += -lz
+  LIBS += -lz
 endif
 
 ifdef DEFAULT_BASEDIR
    
    
More information about the quake3-commits
mailing list