libduckdb: correct abi config

This commit is contained in:
Elliana May 2022-12-01 01:49:44 +08:00 committed by xtkoba
parent 5a7500290b
commit fb7e17c66d
1 changed files with 2 additions and 0 deletions

View File

@ -3,10 +3,12 @@ TERMUX_PKG_DESCRIPTION="An in-process SQL OLAP database management system"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.6.0
TERMUX_PKG_REVISION=1
# we clone to retain the .git directory, to ensure the version in the built executable is correctly populated
TERMUX_PKG_SRCURL=https://github.com/duckdb/duckdb.git
TERMUX_PKG_DEPENDS="libc++"
termux_step_pre_configure() {
LDFLAGS+=" -llog"
CXXFLAGS+=" -D_GLIBCXX_USE_CXX11_ABI=1"
}