summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index fb8a72f..ff4eaf4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -6,6 +6,8 @@ SOURCES := $(SOURCES)
$(DIR)autogenerated_colors.c: src/colors.gperf
$(VQ)$(ECHO) " GPERF: $<"
$(Q)gperf --output-file=$@ $<
+# Squash "error: no previous declaration for 'svgtiny_color_lookup'"
+ $(Q)$(SED) -i 's/^\(const struct svgtiny_named_color\)/static \1/' $@
PRE_TARGETS := $(DIR)autogenerated_colors.c