Skip to content

Support linking the SDKs against secretspec-ffi via pkg-config - #269

Open
sandydoo wants to merge 4 commits into
mainfrom
feat-pkg-config
Open

Support linking the SDKs against secretspec-ffi via pkg-config#269
sandydoo wants to merge 4 commits into
mainfrom
feat-pkg-config

Conversation

@sandydoo

@sandydoo sandydoo commented Aug 4, 2026

Copy link
Copy Markdown
Member
  • Uses cargo-c to install the library, C headers, and compatible .pc files
  • Ruby: new --enable-pkg-config build flag (gem install secretspec -- --enable-pkg-config)
  • Haskell: new use-pkg-config cabal flag (cabal build -f use-pkg-config)
  • Go: new pkgconfig build tag (go build -tags static,pkgconfig)
  • Updated CI to statically link all three of the above SDKs via pkg-config

- Adds pkg-config support in the Haskell SDK
- Adds missing system frameworks for macOS builds to the Haskell SDK
Cabal seems to have a bug where it reverses the options list when multiple occurances of ghc-options are used.
That breaks `-framework` pairs on macOS.
@sandydoo
sandydoo requested a review from domenkozar August 4, 2026 21:44
@sandydoo sandydoo added the enhancement New feature or request label Aug 4, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
secretspec 63c03ca Commit Preview URL

Branch Preview URL
Aug 04 2026, 09:45 PM

@domenkozar

Copy link
Copy Markdown
Member

Needs a rebase and CI fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants