summaryrefslogtreecommitdiff
path: root/package/sqlite/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-04 22:06:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-04 22:06:03 +0100
commit71d64690550602953eea0737507cbc47999b4126 (patch)
treed4a45e53d34d505a56ab22756162e0018ba5b711 /package/sqlite/Makefile
parenta8c2f992ffdcd61def5614187d77f0f6dcaddb04 (diff)
fix native compile, make tcl usable
Diffstat (limited to 'package/sqlite/Makefile')
-rw-r--r--package/sqlite/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/sqlite/Makefile b/package/sqlite/Makefile
index 175c53518..d1c290edf 100644
--- a/package/sqlite/Makefile
+++ b/package/sqlite/Makefile
@@ -26,6 +26,7 @@ CONFIGURE_ENV+= config_BUILD_CC="${CC_FOR_BUILD}" \
config_TARGET_CFLAGS="${TARGET_CFLAGS}" \
config_TARGET_READLINE_INC="-I${STAGING_TARGET_DIR}/usr/include" \
config_TARGET_READLINE_LIBS="-L${STAGING_TARGET_DIR}/usr/lib -lreadline -lncurses"
+
MAKE_FLAGS+= LIBPTHREAD=-lm
TARGET_CPPFLAGS+= -DSQLITE_SECURE_DELETE=1
CONFIGURE_ARGS+= --disable-tcl \
@@ -34,8 +35,8 @@ CONFIGURE_ARGS+= --disable-tcl \
post-install:
${INSTALL_DIR} ${IDIR_LIBSQLITE}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libsqlite3.so* ${IDIR_LIBSQLITE}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libsqlite3.so* ${IDIR_LIBSQLITE}/usr/lib
${INSTALL_DIR} ${IDIR_SQLITE_CLI}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/sqlite3 ${IDIR_SQLITE_CLI}/usr/bin/
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/sqlite3 ${IDIR_SQLITE_CLI}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk