Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么编译出 iOS 可用的动态库 #79

Closed
lazyun opened this issue Mar 21, 2022 · 4 comments
Closed

怎么编译出 iOS 可用的动态库 #79

lazyun opened this issue Mar 21, 2022 · 4 comments

Comments

@lazyun
Copy link

lazyun commented Mar 21, 2022

你好,我的项目使用 golang 做的。go 版本的 sqlite 并没有提供 sqlite3_auto_extension 这个静态库加载的函数,只提供了使用动态库加载的方法。我尝试了下并没有编译出动态库。想问下你这边有什么方案么?

@wangfenjin
Copy link
Owner

我写了一个 go 的例子 #80 可以用啊

你的标题是 iOS 跟 go 有什么关系

@wangfenjin
Copy link
Owner

有问题再讨论

@lazyun
Copy link
Author

lazyun commented Mar 30, 2022

我使用 go 生成 framework 提供给 iOS 端使用。但是现在没编译出 iOS 可用的动态库。go 版本的 sqlite 没有 #73 中加载静态库的方法。

@wangfenjin
Copy link
Owner

可以给 go 的库提需求让他们加上加载静态库的方法

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

No branches or pull requests

2 participants