Fixed compile-time error where not including snapshot support would cause

compiling to fail.  Since ZIP support was added, we always need to link
to the zlib library, not just when we want snapshot support.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@565 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2005-06-26 13:08:43 +00:00
parent 900157b6b4
commit 6382ab8e47
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
## See the file "license" for information on usage and redistribution of ## See the file "license" for information on usage and redistribution of
## this file, and for a DISCLAIMER OF ALL WARRANTIES. ## this file, and for a DISCLAIMER OF ALL WARRANTIES.
## ##
## $Id: makefile,v 1.106 2005-06-23 18:11:57 stephena Exp $ ## $Id: makefile,v 1.107 2005-06-26 13:08:43 stephena Exp $
##============================================================================ ##============================================================================
##============================================================================ ##============================================================================
@ -55,7 +55,7 @@ CXX = g++
LD = g++ LD = g++
LDFLAGS = `sdl-config --cflags` LDFLAGS = `sdl-config --cflags`
LDLIBS = `sdl-config --libs` LDLIBS = `sdl-config --libs` -lz
OBJECTS = mainSDL.o FrameBufferSoft.o OBJECTS = mainSDL.o FrameBufferSoft.o
OPTIONS = OPTIONS =
EXE_NAME = EXE_NAME =
@ -94,7 +94,7 @@ endif
ifdef SNAPSHOT_SUPPORT ifdef SNAPSHOT_SUPPORT
OBJECTS += Snapshot.o OBJECTS += Snapshot.o
OPTIONS += -DSNAPSHOT_SUPPORT OPTIONS += -DSNAPSHOT_SUPPORT
LDLIBS += -lpng -lz LDLIBS += -lpng
endif endif
ifdef DEVELOPER_SUPPORT ifdef DEVELOPER_SUPPORT