[kdelibs/KDE/4.7] cmake/modules: fixed cmake trying to link against the dll directly

Alexander Neundorf neundorf at kde.org
Tue Nov 1 16:15:07 UTC 2011


On Tuesday 01 November 2011, Patrick von Reth wrote:
> Hm looks like me previous try to answer failed
> so without the statement cmake tries to directly link against the dll.
> The version of hupnp used is
> http://winkde.org/pub/kde/ports/win32/releases/nightly/20111101/hupnp-x86-m
> ingw4-20111101-bin.tar.bz2
> http://winkde.org/pub/kde/ports/win32/releases/nightly/20111101/hupnp-x86-
> mingw4-20111101-lib.tar.bz2
> 
> Maybe it is caused because there is a libHUpnp1.a but no libHUpnp.a and
> because it cant find the .a for libHUpnp.dll it tries to link against the
> dll?

So you have a libHUpnp1.a and a libHUpnp.dll,
but no libHUpnp1.dll, no libHUpnp.a, and no *.lib file ?

And it links against libHUpnp.dll ?
What are the *.a file anyway ? Shouldn't static libraries be named *.lib ?

Alex


More information about the Kde-buildsystem mailing list