mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 12:12:52 +00:00
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:
committed by
Paul Koning
parent
a944a4bc6d
commit
a011507fe9
14
makefile
14
makefile
@@ -675,13 +675,13 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
|
||||
OS_CCDEFS += -DHAVE_LIBPNG
|
||||
OS_LDFLAGS += -lpng
|
||||
$(info using libpng: $(call find_lib,png) $(call find_include,png))
|
||||
ifneq (,$(call find_include,zlib))
|
||||
ifneq (,$(call find_lib,z))
|
||||
OS_CCDEFS += -DHAVE_ZLIB
|
||||
OS_LDFLAGS += -lz
|
||||
$(info using zlib: $(call find_lib,z) $(call find_include,zlib))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(call find_include,zlib))
|
||||
ifneq (,$(call find_lib,z))
|
||||
OS_CCDEFS += -DHAVE_ZLIB
|
||||
OS_LDFLAGS += -lz
|
||||
$(info using zlib: $(call find_lib,z) $(call find_include,zlib))
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(call find_include,glob))
|
||||
|
||||
Reference in New Issue
Block a user