diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2017-04-20 11:39:32 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-04-20 11:39:32 +0100 |
commit | 8d7ead2dea72c1b60dab316da7069467c62ea95d (patch) | |
tree | f7ef42c4dc310329cdfe776dc03f71e090394bc3 /src | |
parent | 4390f1c84e8fee51fc22468821e6fc158e783053 (diff) | |
download | libsvgtiny-8d7ead2dea72c1b60dab316da7069467c62ea95d.tar.gz |
Buildsystem: Squash "no previous declaration for 'svgtiny_color_lookup'"
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 2 |
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 |