diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-12-21 01:25:36 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-12-21 01:25:36 +0000 |
commit | c6ada5c089c4c3649dbf2651386b016e2335c8ba (patch) | |
tree | eb69fed46c6dc5b00a23252a4c2655a060fb62c4 /gtk | |
parent | 3d514d5334f4922762c144953217e96eeb3a8c86 (diff) | |
download | netsurf-c6ada5c089c4c3649dbf2651386b016e2335c8ba.tar.gz netsurf-c6ada5c089c4c3649dbf2651386b016e2335c8ba.tar.bz2 |
Cope with freebsd gdk paths
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/Makefile.target | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/Makefile.target b/gtk/Makefile.target index b1a6f61f8..e7952bbb5 100644 --- a/gtk/Makefile.target +++ b/gtk/Makefile.target @@ -88,7 +88,11 @@ define convert_image S_PIXBUF += $(2) $(2): $(1) +ifeq ($(HOST),FreeBSD) + $(Q)echo "#include <gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h>" > $(2) +else $(Q)echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $(2) +endif $(Q)gdk-pixbuf-csource --extern --struct --name=$(3) $(1) >> $(2) || \ ( rm -f $(2) && false ) |