mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
Ports: Patch sqlite's configure script to let it build as a shared lib
By telling the libtool-related configure checks that the serenity platform does in fact support shared libs, we can get a VERSYM-free shared lib out of sqlite. This probably applies to other ports as well. Suggested-by: Daniel Bertalan <dani@danielbertalan.dev>
This commit is contained in:
parent
5871072ed3
commit
0a04f4ae86
2 changed files with 23 additions and 5 deletions
|
@ -5,8 +5,3 @@ version="3350500"
|
|||
files="https://www.sqlite.org/2021/sqlite-autoconf-${version}.tar.gz sqlite-autoconf-${version}.tar.gz f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0"
|
||||
auth_type=sha256
|
||||
workdir="sqlite-autoconf-${version}"
|
||||
|
||||
post_install() {
|
||||
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libsqlite3.so -Wl,-soname,libsqlite3.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libsqlite3.a -Wl,--no-whole-archive
|
||||
rm ${SERENITY_INSTALL_ROOT}/usr/local/lib/libsqlite3.la
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue