On non-{Windows, OS X}, don't link to libpng when PNG support is not requested.

git-svn-id: https://svn.eduke32.com/eduke32@3050 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-10-03 15:29:07 +00:00
parent 1ba5ec469b
commit 04a542f1b3

View file

@ -314,7 +314,9 @@ else
LIBS+= -L/opt/local/lib -L/usr/local/lib -lpng # -lz LIBS+= -L/opt/local/lib -L/usr/local/lib -lpng # -lz
endif endif
else else
LIBS+= -lpng -lz ifneq ($(USE_LIBPNG),0)
LIBS+= -lpng -lz
endif
endif endif
endif endif