Bug#457263: dialog: Please build with -fPIC
On Mon, 11 Feb 2008, Josselin Mouette wrote:
> Le mardi 05 février 2008 à 13:27 +0100, Santiago Vila a écrit :
> > Hello.
> > Policy says I should ask here before I add -fPIC to dialog.
> > So: May I build libdialog using -fPIC?
> > My idea is to do this now, document which packages use it in a README,
> > and if athe number of packages using it grows, consider the shared library.
> It is highly recommended to use a shared library instead of a static
> library for such usage.
Yes, I already know that. It's in policy.
> If this is really not possible,
It is possible, but it'll take time. gnunet is broken in the meantime.
> you should build a libdialog_pic.a with -fPIC and keep libdialog.a
> as is.
What's the rationale for that? Does -ldialog link with libdialog_pic.a
automatically if available? I would like gnunet to require a simple
rebuild whenever I provide the shared library (which will be soon).
My current plan is to build with -fPIC, add Provides: libdialog-dev
which should make gnunet not to be broken anymore (as far as it's rebuilt),
and then provide a proper shared library in a few weeks.
Any serious objection to that?