diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-06-09 19:21:03 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-09 20:04:25 +0200 |
commit | 8b1d4d1b8ea7cc0a801b097c977f4d39a39ba5aa (patch) | |
tree | d3fa3a1adfb4f9347ceded25322164a169eab059 /Ports/sqlite | |
parent | 832127121be9102e8bd6916449b1e493ae78e378 (diff) | |
download | serenity-8b1d4d1b8ea7cc0a801b097c977f4d39a39ba5aa.zip |
Ports: Build an `.so` file for SQLite
Diffstat (limited to 'Ports/sqlite')
-rwxr-xr-x | Ports/sqlite/package.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Ports/sqlite/package.sh b/Ports/sqlite/package.sh index 82e00096d2..14998f8d2c 100755 --- a/Ports/sqlite/package.sh +++ b/Ports/sqlite/package.sh @@ -5,3 +5,8 @@ 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 +} |