Re: Problem compiling Pango on WIn32



Fredrik Corneliusson <fredrik corneliusson gmail com> writes:

> "Warning: linker path does not have real file for library -lintl"
>
> When we looked into this it seems like libtool looks for "libintl.dll"
> but in the GTK bundle it's named "intl.dll".
> If I rename the "intl.dll" to "libintl.dll" it works.
> However as it complains about more DLL's renaming seems like a bad solution.
>
> Do anyone have a clue what is causing it to prefix the DLL names it
> looks for with "lib"?

That is simply the way that the linker works.  It is documented
in the ld manual:

`-lNAMESPEC'
`--library=NAMESPEC'
     Add the archive or object file specified by NAMESPEC to the list
     of files to link.  This option may be used any number of times.
     If NAMESPEC is of the form `:FILENAME', `ld' will search the
     library path for a file called FILENAME, otherise it will search
     the library path for a file called `libNAMESPEC.a'.

-- 
"Writing is easy.
 All you do is sit in front of a typewriter and open a vein."
--Walter Smith



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]