Skip to content

Fix configure probe to link-test system libfswatch - #49

Merged
shikokuchuo merged 1 commit into
mainfrom
fix-configure-link-probe
Sep 25, 2026
Merged

shikokuchuo merged 1 commit into
mainfrom
fix-configure-link-probe

Conversation

@shikokuchuo

Copy link
Copy Markdown
Member

Fixes #48.

The system libfswatch detection only compiled a header test, so a partial install (headers present, library missing) was misdetected and the link of watcher.so failed with 'cannot find -lfswatch'.

The probe now compiles and links a call to fsw_init_library() with the real build flags, falling back to the bundled build on failure.

@shikokuchuo
shikokuchuo merged commit 718d6db into main Sep 25, 2026
25 checks passed
@shikokuchuo
shikokuchuo deleted the fix-configure-link-probe branch September 25, 2026 10:43
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.

Installation failure at linker stage (Linux)

1 participant