wok-6.x rev 19120
sqlite: fix arm build (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 13:44:26 2016 +0200 (2016-05-08) |
parents | aca8260e4ea7 |
children | 87b1653da094 |
files | sqlite/receipt |
line diff
1.1 --- a/sqlite/receipt Sun May 08 09:53:06 2016 +0100 1.2 +++ b/sqlite/receipt Sun May 08 13:44:26 2016 +0200 1.3 @@ -19,6 +19,9 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + case "$ARCH" in 1.8 + arm*) ARCH_ARGS="--with-tcl=/cross/arm/sysroot/usr/lib" ;; 1.9 + esac 1.10 [ -s "$SOURCES_REPOSITORY/mysql2sqlite.sh" ] || 1.11 wget -O "$SOURCES_REPOSITORY/mysql2sqlite.sh" \ 1.12 https://gist.github.com/esperlu/943776/raw/dd87f4088f6d5ec7563478f7a28a37ba02cf26e2/mysql2sqlite.sh 1.13 @@ -28,6 +31,7 @@ 1.14 --disable-readline \ 1.15 --enable-load-extension \ 1.16 LDFLAGS="$LDFLAGS -ldl" \ 1.17 + $ARCH_ARGS \ 1.18 $CONFIGURE_ARGS && 1.19 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool && 1.20 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool &&