Fix cross-compile of embedded berkeley db
[openwrt/svn-archive/archive.git] / openwrt / package / osiris / patches / configure-cross.patch
index 9ef79d0fdf0a9e1cfb2d7972940d7509c5a86c28..025a3f84197d4f62deab134539545918bffce9e7 100644 (file)
@@ -5,7 +5,7 @@
  
  
 -DB_CONFIG_ARGS="--enable-shared=no --enable-static=yes"
-+DB_CONFIG_ARGS="--target=${target} --host=${host} --build=${build} --enable-shared=no --enable-static=yes"
++DB_CONFIG_ARGS="--target=${target_alias} --host=${host_alias} --build=${build_alias} --enable-shared=no --enable-static=yes"
  
  case "${OS_NAME}" in
      MINGW32*)
@@ -16,7 +16,7 @@
  dnl configure local copy of Berkely DB:
  
 -DB_CONFIG_ARGS="--enable-shared=no --enable-static=yes"
-+DB_CONFIG_ARGS="--target=${target} --host=${host} --build=${build} --enable-shared=no --enable-static=yes"
++DB_CONFIG_ARGS="--target=${target_alias} --host=${host_alias} --build=${build_alias} --enable-shared=no --enable-static=yes"
  
  case "${OS_NAME}" in
      MINGW32*)