aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authorJean-André Santoni2019-01-13 11:12:32 +0700
committerJean-André Santoni2019-01-13 11:12:32 +0700
commit7795edd6c683a5b82701cfa825304ac48bf79fef (patch)
treeea7e23977f5403d1c5ed3e18b27d03e53e778810 /Makefile.libretro
parent28ea3e2d87c4e239d8853b10c4496f82feb9d982 (diff)
downloadpcsx_rearmed-7795edd6c683a5b82701cfa825304ac48bf79fef.tar.gz
pcsx_rearmed-7795edd6c683a5b82701cfa825304ac48bf79fef.tar.bz2
pcsx_rearmed-7795edd6c683a5b82701cfa825304ac48bf79fef.zip
Embed zlib
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro3
1 files changed, 3 insertions, 0 deletions
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