2009-04-22 15:48:07 +04:00
|
|
|
LIBDIR=/tmp
|
|
|
|
|
2010-01-14 03:46:48 +03:00
|
|
|
8.4:
|
|
|
|
gcc -Wall -I/usr/include/postgresql/8.4/server -O1 -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
|
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|
2009-04-22 15:48:07 +04:00
|
|
|
|
|
|
|
8.3:
|
2010-01-14 03:46:48 +03:00
|
|
|
gcc -Wall -I/usr/include/postgresql/8.3/server -O1 -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
|
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|
|
|
|
|
|
|
|
8.2:
|
|
|
|
gcc -Wall -I/usr/include/postgresql/8.2/server -O1 -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
|
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|