2009-04-22 15:48:07 +04:00
|
|
|
LIBDIR=/tmp
|
|
|
|
|
2010-01-14 03:46:48 +03:00
|
|
|
8.4:
|
2010-02-20 22:10:55 +03:00
|
|
|
gcc -Wall -I/usr/include/postgresql/8.4/server -Os -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
|
2010-01-14 03:46:48 +03:00
|
|
|
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-02-20 22:10:55 +03:00
|
|
|
gcc -Wall -I/usr/include/postgresql/8.3/server -Os -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
|
2010-01-14 03:46:48 +03:00
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|
|
|
|
|
|
|
|
8.2:
|
2010-02-20 22:10:55 +03:00
|
|
|
gcc -Wall -I/usr/include/postgresql/8.2/server -Os -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
|
2010-01-14 03:46:48 +03:00
|
|
|
strip -sx lib_postgresqludf_sys.so
|
|
|
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|