mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
sqlite: work around build breakage with !BR2_LARGEFILE
Should get fixed properly upstream, but this is good enough for 2009.11-rc1. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
8fb74cdece
commit
e189fe1f78
@ -11,6 +11,15 @@ SQLITE_INSTALL_STAGING = YES
|
|||||||
SQLITE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
SQLITE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||||
SQLITE_LIBTOOL_PATCH = NO
|
SQLITE_LIBTOOL_PATCH = NO
|
||||||
|
|
||||||
|
ifneq ($(BR2_LARGEFILE),y)
|
||||||
|
# the sqlite configure script fails to define SQLITE_DISABLE_LFS when
|
||||||
|
# --disable-largefile is passed, breaking the build. Work around it by
|
||||||
|
# simply adding it to CFLAGS for configure instead
|
||||||
|
SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DSQLITE_DISABLE_LFS"
|
||||||
|
# changing CFLAGS doesn't work with config.cache
|
||||||
|
SQLITE_USE_CONFIG_CACHE = NO
|
||||||
|
endif
|
||||||
|
|
||||||
SQLITE_CONF_OPT = --enable-shared \
|
SQLITE_CONF_OPT = --enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-tempstore=yes \
|
--enable-tempstore=yes \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user