Fix cross-compile of embedded berkeley db
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 10 Aug 2005 15:52:26 +0000 (15:52 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 10 Aug 2005 15:52:26 +0000 (15:52 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1596 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/osiris/patches/configure-cross.patch

index 9ef79d0..025a3f8 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*)