diff --git a/plugins/input/templates/helloworld/Makefile b/plugins/input/templates/helloworld/Makefile index 2caf7fcc9..962f176fe 100644 --- a/plugins/input/templates/helloworld/Makefile +++ b/plugins/input/templates/helloworld/Makefile @@ -1,6 +1,6 @@ -CXX = clang++ +# To use clang, run: make CXX=clang++ -CXXFLAGS = $(shell mapnik-config --cflags) +CXXFLAGS = $(shell mapnik-config --cflags) -fPIC LIBS = $(shell mapnik-config --libs --ldflags --dep-libs) @@ -27,4 +27,4 @@ clean: deploy : all cp hello.input $(shell mapnik-config --input-plugins) -install: clean all deploy \ No newline at end of file +install: all deploy