Is there a way to compile postgres with static libraries instead of dynamic?

I know it will make the binaries bigger but I have a need to do this.

I've been reading through the make/automake, cc, gcc and ld man pages AND googling a bit. Not getting it to run properly. When I run the ./configure it says cc cannot create a test object when I try -d n, -B static or -static.

What am I missing?

I'm thinking this is something I need to do with ld and use LDFLAGS but that's just a guess.

Thanks!

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Reply via email to