summaryrefslogtreecommitdiff
path: root/frontends/framebuffer
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-09-07 12:23:39 +0100
committerVincent Sanders <vince@kyllikki.org>2018-09-07 12:23:39 +0100
commitbd8991c2f6546d42008ade8dd4db133a120c44db (patch)
tree54c81b6dbb5766d901082a50d0e0662c3fc730fa /frontends/framebuffer
parent40cdf498b9153685b4cefe576e59f6b41090912b (diff)
downloadnetsurf-bd8991c2f6546d42008ade8dd4db133a120c44db.tar.gz
netsurf-bd8991c2f6546d42008ade8dd4db133a120c44db.tar.bz2
fix framebuffer BUILD libpng flags on freebsd
Diffstat (limited to 'frontends/framebuffer')
-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.