Closed dualfade closed 4 years ago
Changed to plgo.go --
/*
//{windowsCFLAGS}
So I could build go module on deb latest.
Just an fyi --
plgo command will replace the /usr/include/postgresql/server string, with the output from pg_config --includedir-server
/usr/include/postgresql/server
pg_config --includedir-server
I don't know why this cgo CFLAGS is a problem to compile ...
Changed to plgo.go --
/*
cgo CFLAGS: -I"/usr/include/postgresql/11/server" -fpic
cgo LDFLAGS: -shared
//{windowsCFLAGS}
So I could build go module on deb latest.
Just an fyi --