mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
-lz must be specified after object files using it
If it's specified first newer gcc resp the --as-needed option doesn't work.
This commit is contained in:
parent
465c6101e0
commit
55943c51f3
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -880,7 +880,7 @@ endif
|
|||
ifeq ($(USE_INTERNAL_ZLIB),1)
|
||||
BASE_CFLAGS += -DNO_GZIP
|
||||
else
|
||||
LDFLAGS += -lz
|
||||
LIBS += -lz
|
||||
endif
|
||||
|
||||
ifdef DEFAULT_BASEDIR
|
||||
|
|
Loading…
Reference in a new issue