From bd8991c2f6546d42008ade8dd4db133a120c44db Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 7 Sep 2018 12:23:39 +0100 Subject: fix framebuffer BUILD libpng flags on freebsd --- frontends/framebuffer/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'frontends') diff --git a/frontends/framebuffer/Makefile b/frontends/framebuffer/Makefile index 3c6f31b8a..d36728ec0 100644 --- a/frontends/framebuffer/Makefile +++ b/frontends/framebuffer/Makefile @@ -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. -- cgit v1.2.3