Makefile tweaks for helloworld template plugin
- Do not force use of clang++ to build the plugin (broken on recent debian and derivates: https://bugs.debian.org/643959) - Do not force clean on install - Use -fPIC to build objects (or g++ complains)
This commit is contained in:
parent
8bb77bce92
commit
4c525e0e25
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
install: all deploy
|
||||
|
|
Loading…
Reference in a new issue