mesonbuild / mesonbuild/wrapdb

openssl-3.0.8: meson.build:314:15: Exception: C static library 'ws2_32' not found

Open
#1,513 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Meson
Stars
118
Forks
298
Avg merge
2d 2h
Merged PRs (30d)
24

Description

`ws2_32` static does not exists and cannot be found. There is a workaround for `compiler.get_id() == 'msvc'`. It is not enough, it also fails with `x86_64-pc-windows-msvc` clang build.

https://github.com/mesonbuild/wrapdb/blob/c3a8a5124fbdc4fc23d14d2540c4dd90b849bd0b/subprojects/packagefiles/openssl/meson.build#L306-L320

EDIT: I've actually reported checking only issues, but not PRs, it seems to be known issue https://github.com/mesonbuild/wrapdb/pull/483 for quite some time.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with subprojects/packagefiles/openssl/meson.build around lines 306-320 and compare the existing MSVC workaround with the x86_64-pc-windows-msvc clang case. Review wrapdb PR 483 for the prior discussion, then verify that the OpenSSL wrap configuration no longer fails while looking for ws2_32 under that toolchain.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.