File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -690,6 +690,7 @@ proc sqlite-handle-threadsafe {} {
690
690
define LDFLAGS_PTHREAD " "
691
691
set enable 0
692
692
proj-if-opt-truthy threadsafe {
693
+ msg-result " Checking for libs..."
693
694
if {[ proj-check-function-in-lib pthread_create pthread]
694
695
&& [ proj-check-function-in-lib pthread_mutexattr_init pthread] } {
695
696
set enable 1
@@ -698,11 +699,13 @@ proc sqlite-handle-threadsafe {} {
698
699
undefine lib_pthread_mutexattr_init
699
700
} elseif {[ proj-opt-was-provided threadsafe] } {
700
701
user-error " Missing required pthread libraries. Use --disable-threadsafe to disable this check."
702
+ } else {
703
+ msg-result " pthread support not detected"
701
704
}
702
705
# Recall that LDFLAGS_PTHREAD might be empty even if pthreads if
703
706
# found because it's in -lc on some platforms.
704
707
} {
705
- msg-result no
708
+ msg-result " Disabled using --disable-threadsafe "
706
709
}
707
710
sqlite-add-feature-flag -DSQLITE_THREADSAFE=${enable}
708
711
return $enable
You can’t perform that action at this time.
0 commit comments