From: Nicolas Thill <nico@openwrt.org>
Date: Wed, 10 Aug 2005 15:52:26 +0000 (+0000)
Subject: Fix cross-compile of embedded berkeley db
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2cb724bb3670625ba8cfce342dd40990edad62ee;p=openwrt%2Fstaging%2Fdedeckeh.git

Fix cross-compile of embedded berkeley db

SVN-Revision: 1596
---

diff --git a/openwrt/package/osiris/patches/configure-cross.patch b/openwrt/package/osiris/patches/configure-cross.patch
index 9ef79d0fdf..025a3f8419 100644
--- a/openwrt/package/osiris/patches/configure-cross.patch
+++ b/openwrt/package/osiris/patches/configure-cross.patch
@@ -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*)