magnacarto/vendor/github.com/omniscale/go-mapnik/configure.bash
2017-01-26 15:30:46 +01:00

18 lines
394 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 --cxxflags --includes --dep-includes | tr '\n' ' ')
// #cgo LDFLAGS: $(mapnik-config --libs) -lboost_system
import "C"
const (
fontPath = "$(mapnik-config --fonts)"
pluginPath = "$(mapnik-config --input-plugins)"
)
EOF