Skip to content

Use self-contained source liblbug archive#19

Merged
adsharma merged 1 commit into
mainfrom
self-contained-source-liblbug
Jun 2, 2026
Merged

Use self-contained source liblbug archive#19
adsharma merged 1 commit into
mainfrom
self-contained-source-liblbug

Conversation

@adsharma

@adsharma adsharma commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Fixes: #18

Source CMake builds now treat liblbug.a as self-contained, matching the prebuilt archive path.

This removes the extra third-party link search paths from the bundled CMake build and leaves link_bundled_deps false when LBUG_BUILD_FROM_SOURCE or LBUG_RUST_BUILD_FROM_SOURCE forces a source build. Current and future lbug source trees produce liblbug.a with those dependencies already included, so downstream Rust builds only need to link lbug plus the platform C++ runtime.

@adsharma adsharma marked this pull request as ready for review June 2, 2026 15:03
@adsharma adsharma force-pushed the self-contained-source-liblbug branch from 391bc1d to 4c4cd5d Compare June 2, 2026 15:04
@adsharma adsharma merged commit b624435 into main Jun 2, 2026
1 check passed
@adsharma adsharma deleted the self-contained-source-liblbug branch June 2, 2026 15:40
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.

0.17.0: build.rs sets link_bundled_deps=true with the new self-contained liblbug.a → 7399 duplicate symbol errors when LBUG_BUILD_FROM_SOURCE=1

1 participant