mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-13 00:24:10 +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)
|
ifeq ($(USE_INTERNAL_ZLIB),1)
|
||||||
BASE_CFLAGS += -DNO_GZIP
|
BASE_CFLAGS += -DNO_GZIP
|
||||||
else
|
else
|
||||||
LDFLAGS += -lz
|
LIBS += -lz
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef DEFAULT_BASEDIR
|
ifdef DEFAULT_BASEDIR
|
||||||
|
|
Loading…
Reference in a new issue