dcourtois / premake-qt

Premake module adding support for Qt to actions (Visual Studio, makefiles, etc.)
Do What The F*ck You Want To Public License
45 stars 11 forks source link

Don't add extra `links` for "StaticLib". #34

Closed Jarod42 closed 8 months ago

Jarod42 commented 8 months ago

Don't add extra links for "StaticLib". Fix issue like:

warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in Qt5Core.lib(Qt5Core.dll); second definition ignored

dll/so don't have to be linked to static lib.

Extra libdirs might also be removed...

dcourtois commented 8 months ago

Good catch, thanks for the contribution!