Skip site navigation (1) Skip section navigation (2)

Decreasing link dependencies

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Decreasing link dependencies
Date: 2006-02-20 14:51:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers

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).


Attachment: minimal_link.patch
Description: application/octet-stream (1.7 KB)

pgadmin-hackers by date

Next:From: Magnus HaganderDate: 2006-02-20 15:34:06
Subject: pgagent commandline
Previous:From: Andreas PflugDate: 2006-02-20 10:40:25
Subject: Re: Query tool results in grid

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group