Re: Decreasing link dependencies

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>, "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Decreasing link dependencies
Date: 2006-02-21 09:27:36
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40103E267@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied.

/D

> -----Original Message-----
> From: pgadmin-hackers-owner(at)postgresql(dot)org
> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of
> Magnus Hagander
> Sent: 20 February 2006 14:52
> To: pgadmin-hackers
> Subject: [pgadmin-hackers] Decreasing link dependencies
>
> Hi!
>
> When building pgadmin3 on Linux, pgagent ends up with a whole lot of
> depdencies on X and friends - since it pulls in all of
> wxWidgets. I want
> to deploy pgagent to a server, but I certainly don't have X on my
> servers... Building it statically removes the dependency on the wx
> libraries, but the X libs stay in there.
>
> Attach patch fixes this, by using a "base set" of libraries
> that doesn't
> include wx (it does include libpq for exmaple, since anything
> in pgadmin
> can be expected to require that). Then it adds the specific wx
> requirements for pgadmin3 (loads of them) and pgagent (just
> base) using
> *_LDADD. The same fix is done for libxml2 - pgagent doesn't
> need it (at
> least not now).
>
> //Magnus
>

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2006-02-21 09:39:15 SVN Commit by dpage: r5013 - in trunk/pgadmin3: . xtra/pgagent xtra/pgagent/include
Previous Message svn 2006-02-21 09:27:23 SVN Commit by dpage: r5012 - trunk/pgadmin3