From 0f593d8fdfa0b85af4c94dcf4916ac3b464d1fa7 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Fri, 26 Sep 2014 15:25:12 -0700 Subject: [PATCH] Fix build errors on Mac --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6fd49618..4b9b26d9 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ vector_tile.pb.cc vector_tile.pb.h: vector_tile.proto PG= tippecanoe: geojson.o jsonpull.o vector_tile.pb.o tile.o - cc $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3 + g++ $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3 libjsonpull.a: jsonpull.o ar rc $@ $^ diff --git a/README.md b/README.md index da3bc157..a5cb9346 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ if it is appropriate to do more than that. Development ----------- -Requires protoc, protobuf-lite, and sqlite3. To build: +Requires protoc (brew install protobuf), protobuf-lite, and sqlite3. To build: make