Don't ignore major version "0" when resolving targets on windows
This was missed in dd9ec1564, leading to errors for example when building
with separate_debug_info.
Change-Id: Ibeb8020abe32690bcc691c1ca139508775c91db2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
bb10
parent
fa6444939c
commit
8f960badfc
|
|
@ -19,7 +19,6 @@ win32 {
|
|||
contains(TEMPLATE, .*lib) {
|
||||
!skip_target_version_ext:isEmpty(TARGET_VERSION_EXT):!isEmpty(VERSION) {
|
||||
TARGET_VERSION_EXT = $$section(VERSION, ., 0, 0)
|
||||
isEqual(TARGET_VERSION_EXT, 0):unset(TARGET_VERSION_EXT)
|
||||
}
|
||||
static:TARGET_EXT = .lib
|
||||
else:TARGET_EXT = .dll
|
||||
|
|
|
|||
Loading…
Reference in New Issue