--- osiris-4.1.8-orig/configure	2005-04-13 15:22:13.000000000 +0200
+++ osiris-4.1.8-1/configure	2005-04-22 23:11:32.000000000 +0200
@@ -3606,7 +3606,7 @@
 esac
 
 
-DB_CONFIG_ARGS="--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*)
--- osiris-4.1.8-orig/configure.ac	2005-04-13 15:22:13.000000000 +0200
+++ osiris-4.1.8-1/configure.ac	2005-04-22 23:11:32.000000000 +0200
@@ -270,7 +270,7 @@
 
 dnl configure local copy of Berkely DB:
 
-DB_CONFIG_ARGS="--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*)
