Hi everyone,
I'm working on a piece of code for PostGIS to allow the loading of
projection configuration files from the share/postgresql directory, but
I can't find a way of getting this to work under Win32.
AIUI the way to do this would be to use a combination of my_exec_path
and get_share_path in order to find the directory, but MingW refuses to
find the my_exec_path variable during linking. Unfortunately I suspect
that this because my_exec_path is not declared as DLLIMPORT in
backend/utils/init/globals.c :(
I really need to find a solution to this that can work all the way back
to PostgreSQL 8.0 - can anyone think of any better ideas?
Many thanks,
Mark.
--
ILande - Open Source Consultancy
http://www.ilande.co.uk