summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontends/framebuffer/Makefile9
1 files changed, 7 insertions, 2 deletions
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.