Skip to content

fix/linker package directory - #2

Merged
daviddoliver merged 2 commits into
mainfrom
fix/linker-package-directory
Mar 29, 2026
Merged

daviddoliver merged 2 commits into
mainfrom
fix/linker-package-directory

Conversation

@daviddoliver

Copy link
Copy Markdown
Contributor
  • Fix linker path using Context.packageDirectory
  • Bundle OpenSSL static libs; link ssl, crypto, iconv

daviddoliver and others added 2 commits March 28, 2026 09:29
-L. resolved relative to the linker's working directory, not the
package source, causing sybdb not found errors. Use the absolute
package directory path so the bundled libsybdb.a is always found.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
libsybdb.a requires OpenSSL (TLS) and iconv. Bundle libssl.a and
libcrypto.a from OpenSSL 3 alongside libsybdb.a so consumers need
nothing installed beyond Xcode/Swift. iconv resolves from the macOS
system SDK via -liconv.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@daviddoliver
daviddoliver merged commit 22c24a5 into main Mar 29, 2026
1 check failed
@daviddoliver
daviddoliver deleted the fix/linker-package-directory branch April 2, 2026 16:52
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