MAKEFILE: Add zlib to macOS deps
Zlib is no longer packaged as part of macOS, now needs to be installed by HomeBrew.
This commit is contained in:
parent
a944a4bc6d
commit
a011507fe9
2 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
install_osx() {
|
||||
brew update
|
||||
brew install pkg-config pcre libpng libedit sdl2 freetype2 sdl2_ttf \
|
||||
vde cmake gnu-getopt coreutils
|
||||
vde cmake gnu-getopt coreutils zlib
|
||||
}
|
||||
|
||||
install_arch_linux() {
|
||||
|
|
4
makefile
4
makefile
|
@ -675,6 +675,8 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
|
|||
OS_CCDEFS += -DHAVE_LIBPNG
|
||||
OS_LDFLAGS += -lpng
|
||||
$(info using libpng: $(call find_lib,png) $(call find_include,png))
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(call find_include,zlib))
|
||||
ifneq (,$(call find_lib,z))
|
||||
OS_CCDEFS += -DHAVE_ZLIB
|
||||
|
@ -682,8 +684,6 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
|
|||
$(info using zlib: $(call find_lib,z) $(call find_include,zlib))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(call find_include,glob))
|
||||
OS_CCDEFS += -DHAVE_GLOB
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue