Skip to content

Fix Wasm linking for the target vcpkg triplet - #168

Merged
Tmonster merged 1 commit into
duckdb:mainfrom
smvv:fix/wasm-vcpkg-triplet-main
Nov 19, 2026
Merged

Tmonster merged 1 commit into
duckdb:mainfrom
smvv:fix/wasm-vcpkg-triplet-main

Conversation

@smvv

@smvv smvv commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Wasm builds currently link vcpkg archives from the hardcoded wasm32-emscripten directory. On wasm_threads, the archives are installed under its own triplet, so linking fails with No such file or directory.

Use ${VCPKG_TARGET_TRIPLET} for the archive path while keeping the Avro C and C++ API archives in the link list.

The v2.0-cyanoptera branch already selects the target triplet.

@smvv
smvv force-pushed the fix/wasm-vcpkg-triplet-main branch from 0cbc226 to 85acc5e Compare November 19, 2026 11:18
@smvv
smvv marked this pull request as ready for review November 19, 2026 11:36
@Tmonster
Tmonster merged commit 5ef5851 into duckdb:main Nov 19, 2026
10 checks passed
@smvv
smvv deleted the fix/wasm-vcpkg-triplet-main branch November 19, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants