Re: Apple xCode 2.0 and linking with libpq.a
От | Ashley Clark |
---|---|
Тема | Re: Apple xCode 2.0 and linking with libpq.a |
Дата | |
Msg-id | 26BFF06A-03F9-47C4-9E72-096C0F75699B@ghoti.org обсуждение исходный текст |
Ответ на | Apple xCode 2.0 and linking with libpq.a (Stephane Pinel <spinel@noos.fr>) |
Список | pgsql-interfaces |
I've noticed this too and for a quick fix you can move the libpq*.dylib files out of that directory and it should use the static library. On Jun 15, 2005, at 4:44 PM, Stephane Pinel wrote: > Hello, > > I have a project that used to compile and link fine with Apple > xCode 1.5 on Panther (MacOS X 10.3.X). > > Since I've upgraded to MacOS X 10.4.1 and Apple xCode 2, my project > seems to search for a dynamic link > (libpq.dylib) instead of libpq.a as setted in the project. First I > haven't seen this because all my Macs have > a PostgreSQL installed. But from an other Mac, where there is no > PostgreSQL install, my app didn't work and > apparently looked at a libpq.dylib. > > Any idea on how to set up properly my xCode 2 project in order to > link statically, just like before ? > > Thank you very much. > > Stephane > > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to > majordomo@postgresql.org > >
В списке pgsql-interfaces по дате отправления: