Skip to content

Commit 2d43b83

Browse files
authored
tools: fix v doctor output on FreeBSD ; do not run ldd to get the glibc version (#24427)
1 parent dd859ea commit 2d43b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/tools/vdoctor.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ fn (mut a App) collect_info() {
149149
}
150150
a.report_tcc_version('thirdparty/tcc')
151151
a.line('emcc version', a.cmd(command: 'emcc --version'))
152-
if os_kind != 'openbsd' {
152+
if os_kind != 'openbsd' && os_kind != 'freebsd' {
153153
a.line('glibc version', a.cmd(command: 'ldd --version'))
154154
} else {
155155
a.line('glibc version', 'N/A')

0 commit comments

Comments
 (0)