# HG changeset patch # User Pascal Bellard # Date 1462707866 -7200 # Node ID 78adcea3ecfbab14d401a7fe9c2e271600c6e93a # Parent aca8260e4ea7ce39cce27b5626362f39a4c9edb4 sqlite: fix arm build (again) diff -r aca8260e4ea7 -r 78adcea3ecfb sqlite/receipt --- a/sqlite/receipt Sun May 08 09:53:06 2016 +0100 +++ b/sqlite/receipt Sun May 08 13:44:26 2016 +0200 @@ -19,6 +19,9 @@ # Rules to configure and make the package. compile_rules() { + case "$ARCH" in + arm*) ARCH_ARGS="--with-tcl=/cross/arm/sysroot/usr/lib" ;; + esac [ -s "$SOURCES_REPOSITORY/mysql2sqlite.sh" ] || wget -O "$SOURCES_REPOSITORY/mysql2sqlite.sh" \ https://gist.github.com/esperlu/943776/raw/dd87f4088f6d5ec7563478f7a28a37ba02cf26e2/mysql2sqlite.sh @@ -28,6 +31,7 @@ --disable-readline \ --enable-load-extension \ LDFLAGS="$LDFLAGS -ldl" \ + $ARCH_ARGS \ $CONFIGURE_ARGS && sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool && sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool &&