Added PostgreSQL 9.0 shared object for Linux 64-bit

This commit is contained in:
Bernardo Damele
2011-06-28 13:12:18 +00:00
parent d3b44a5f58
commit 1698630bc0
5 changed files with 24 additions and 6 deletions

View File

@@ -1,5 +1,10 @@
LIBDIR=/tmp
9.0:
gcc -Wall -I/usr/include/postgresql/9.0/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
strip -sx lib_postgresqludf_sys.so
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
8.4:
gcc-4.3 -Wall -I/usr/include/postgresql/8.4/server -Os -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
strip -sx lib_postgresqludf_sys.so