Le lundi 23 août 2010 à 17:12 -0400, Tom "spot" Callaway a écrit :
On 08/23/2010 02:06 PM, Jonathan MERCIER wrote:
> oh sorry i read too quicly last time.
> I use _d_libdir for file /etc/ldc.conf who need D lib path
Let me be specific:
Why can't the D libraries go into %{_libdir} (/usr/lib || /usr/lib64)?
If they can be parsed by ld.so, then there is no real need for them to
be in a subdirectory.
~spot
The only reason why i use _d_libdir si for ldc scan d library (only)
But we can put all D lib in libdir
see:
_________________________________________________________________________________
$ cat /etc/ldc.conf
// This configuration file uses libconfig.
// See
http://www.hyperrealm.com/libconfig/ for syntax details.
// Special macros:
// %%ldcbinarypath%%
// - is replaced with the path to the directory holding the ldc
executable
// The default group is required
default:
{
// 'switches' holds array of string that are appends to the command
line
// arguments before they are parsed.
switches = [
"-I /usr/include/d/",
"-I /usr/include/d/tango",
"-I /usr/include/d/tango/core/vendor",
"-L-L/usr/lib64/d",
"-d-version=Tango",
"-defaultlib=tango",
"-debuglib=tango"
];
};
_________________________________________________________________________________