fix framebuffer BUILD libpng flags on freebsd

This commit is contained in:
Vincent Sanders 2018-09-07 12:23:39 +01:00
parent 40cdf498b9
commit bd8991c2f6

View File

@ -93,8 +93,13 @@ ifeq ($(HOST),OpenBSD)
BUILD_CFLAGS += $(shell $(PKG_CONFIG) --cflags libpng)
BUILD_LDFLAGS += $(shell $(PKG_CONFIG) --libs libpng)
else
BUILD_CFLAGS +=
BUILD_LDFLAGS += -lpng
ifeq ($(HOST),FreeBSD)
BUILD_CFLAGS += $(shell $(PKG_CONFIG) --cflags libpng)
BUILD_LDFLAGS += $(shell $(PKG_CONFIG) --libs libpng)
else
BUILD_CFLAGS +=
BUILD_LDFLAGS += -lpng
endif
endif
# Host tool to convert image bitmaps to source code.