Skip to content

lsl 1.18.0.b6: framework plus plain-dylib layout - #8

Merged
cboulay merged 1 commit into
mainfrom
lsl-1.18.0.b6
Oct 14, 2026
Merged

cboulay merged 1 commit into
mainfrom
lsl-1.18.0.b6

Conversation

@cboulay

@cboulay cboulay commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Updates lsl to 1.18.0.b6 and, on macOS, installs lsl.framework again (sccn/liblsl#308) without giving up the plain-dylib layout.

liblsl 1.18.0b6 installs a framework together with lib/liblsl.dylib, include/{lsl,lsl_c.h,lsl_cpp.h}, lib/cmake/lsl and lsl.pc, all pointing into the framework (sccn/liblsl#320). So every way of using the formula works:

  • -F$(brew --prefix)/Frameworks -framework lsl (#308)
  • -I$(brew --prefix)/include -L$(brew --prefix)/lib -llsl, pkg-config lsl
  • find_package(LSL) with CMAKE_PREFIX_PATH=$(brew --prefix)

lib/liblsl.2.dylib also links to the framework, so programs built against the 1.18.0b3/b4 dylib layout (which load opt/lsl/lib/liblsl.2.dylib, e.g. the current labrecorder bottle) keep working without a rebuild. Linux is unchanged (plain shared library).

Tested by installing this formula from source on macOS 26 arm64: brew test passes (C via -llsl, lslver, pkg-config, and a new -framework lsl build), brew linkage lsl is clean, Homebrew rewrites the framework's install name to /opt/homebrew/opt/lsl/Frameworks/lsl.framework/Versions/A/lsl, the installed labrecorder (built against b4) still runs, and a CMake find_package(LSL) consumer and a pkg-config consumer both build and run against /opt/homebrew. Bottles come from this PR's test-bot run.

Fixes sccn/liblsl#308

On macOS, build lsl.framework again (#308): liblsl 1.18.0b6 also
installs lib/liblsl.dylib, the headers in include/, lib/cmake/lsl and
lsl.pc pointing into the framework, so -llsl, pkg-config and
find_package(LSL) keep working. lib/liblsl.2.dylib links to it too, so
programs built against the 1.18.0b3/b4 dylib layout (e.g. the
labrecorder bottle) keep loading. The test also builds with
-framework lsl.
@cboulay
cboulay merged commit 2c35ef8 into main Oct 14, 2026
3 checks passed
@cboulay
cboulay deleted the lsl-1.18.0.b6 branch October 14, 2026 22:12
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.

homebrew installation of lsl is missing Frameworks folder

1 participant