Skip to content

fix: use nightly CI for macos#298

Merged
adsharma merged 1 commit intomainfrom
macos_fix
Mar 18, 2026
Merged

fix: use nightly CI for macos#298
adsharma merged 1 commit intomainfrom
macos_fix

Conversation

@adsharma
Copy link
Contributor

Before the commit, cmake --install would install liblbug.dylib as a real file. After adding VERSION/SOVERSION via set_target_properties, CMake now installs it as:

  • liblbug.0.15.2.1.dylib (real file)
  • liblbug.0.dylib (symlink)
  • liblbug.dylib (symlink → liblbug.0.dylib)
    The workflow mv install/lib/liblbug.dylib . moves the symlink without its target, resulting in a broken symlink. The fix is to copy the versioned dylib and rename it, or copy the real file instead of the symlink.

…acts

After adding SONAME via set_target_properties, CMake installs the shared
library as a versioned file with liblbug.dylib/.so as a symlink. Moving
the symlink without its target breaks artifact collection on macOS.
@adsharma adsharma merged commit 25e9b5e into main Mar 18, 2026
19 checks passed
@adsharma adsharma deleted the macos_fix branch March 18, 2026 17:57
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.

1 participant