magnacarto/vendor/github.com/omniscale/go-mapnik/configure.bash
2016-04-06 16:11:57 +02:00

18 lines
352 B
Bash
Executable file

#!/bin/bash
cd `dirname $0`
cat > mapnik_config.go <<EOF
package mapnik
// THIS FILE IS AUTO GENERATED BY go generate !DO NOT EDIT!
// #cgo CXXFLAGS: $(mapnik-config --cflags)
// #cgo LDFLAGS: $(mapnik-config --libs) -lboost_system
import "C"
const (
fontPath = "$(mapnik-config --fonts)"
pluginPath = "$(mapnik-config --input-plugins)"
)
EOF