On Thu, 14 May 2009, Szak�ts Viktor wrote:
> In this case you can copy hbmk.cfg to one of these location neutral dirs:
> /etc/harbour or ~/.harbour.

The problem is that such hbmk.cfg will be common to all Harbour
installations I will have in the system.

> If there is a way to detect that softlink condition we can add support
> for it.

There is no portable method. In fact also hb_argv(0) may not be usable
or even accessible in POSIX system. Program may not have rights to scan
directories from it was executed or can be even executed in some different
chroot-ed environment.

But let's leave it as is if user can disable hard coded paths in final
shared binaries.

> Yes, I'll add a new switch to control this behaviour.
> I'm thinking about a good name... Any suggestions? It would
> control inclusion of dir for both when Harbour is installed in
> system location and also when not, only the defaults will be
> different in these cases.
> -shareable? -shareddist?

We already have:
   -[full]static
We can have corresponding:
   -[full|fix]shared

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to