makefile: Add support for building with libpng
This commit is contained in:
parent
9cb2697dcd
commit
650f768843
1 changed files with 7 additions and 0 deletions
7
makefile
7
makefile
|
@ -393,6 +393,13 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(call find_include,png))
|
||||
ifneq (,$(call find_lib,png))
|
||||
OS_CCDEFS += -DHAVE_LIBPNG
|
||||
OS_LDFLAGS += -lpng
|
||||
$(info using libpng: $(call find_lib,png) $(call find_include,png))
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(call find_include,glob))
|
||||
OS_CCDEFS += -DHAVE_GLOB
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue