From 7795edd6c683a5b82701cfa825304ac48bf79fef Mon Sep 17 00:00:00 2001 From: Jean-André Santoni Date: Sun, 13 Jan 2019 11:12:32 +0700 Subject: Embed zlib --- Makefile.libretro | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.libretro') diff --git a/Makefile.libretro b/Makefile.libretro index 11093b5..a8c8c4a 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -1,6 +1,7 @@ # Makefile for PCSX ReARMed (libretro) DEBUG=0 +WANT_ZLIB=1 ifeq ($(platform),) platform = unix @@ -26,7 +27,9 @@ GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)" ifneq ($(GIT_VERSION)," unknown") CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\" endif +ifneq ($(WANT_ZLIB),1) LIBZ := -lz +endif LIBPTHREAD := -lpthread ifneq ($(findstring Haiku,$(shell uname -s)),) LIBDL := -lroot -lnetwork -- cgit v1.2.3