magnacarto/vendor/github.com/omniscale/go-mapnik/configure.bash
2016-02-12 10:26:17 +01:00

18 lines
352 B
Bash

#!/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