1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix reversed logic in the build/target/host names in several hwaci-* functions.

FossilOrigin-Name: fde7257ad9ce84be6d907be3c6d277b04dd9466ee6828bfded4cfefc86db22db
This commit is contained in:
stephan
2024-10-01 11:04:02 +00:00
parent aca993423f
commit 2e7c9ae473
3 changed files with 14 additions and 14 deletions

View File

@ -505,8 +505,8 @@ proc hwaci-exe-extension {} {
if {[hwaci-looks-like-windows build]} {
set rB ".exe"
}
define BUILD_EXEEXT $rH
define TARGET_EXEEXT $rB
define BUILD_EXEEXT $rB
define TARGET_EXEEXT $rH
}
########################################################################
@ -529,8 +529,8 @@ proc hwaci-dll-extension {} {
}
}
}
define BUILD_DLLEXT [inner host]
define TARGET_DLLEXT [inner build]
define BUILD_DLLEXT [inner build]
define TARGET_DLLEXT [inner host]
}
########################################################################
@ -541,7 +541,7 @@ proc hwaci-lib-extension {} {
proc inner {key} {
switch -glob -- [get-define $key] {
*apple* {
return ".lib"
return ".a"
}
*-*-ming* - *-*-cygwin - *-*-msys {
return ".lib"
@ -551,8 +551,8 @@ proc hwaci-lib-extension {} {
}
}
}
define BUILD_LIBEXT [inner host]
define TARGET_LIBEXT [inner build]
define BUILD_LIBEXT [inner build]
define TARGET_LIBEXT [inner host]
}
########################################################################