--- /tmp/util-linux-2.12p/configure	2004-12-21 00:20:35.000000000 +0200
+++ util-linux-2.12p/configure	2005-09-15 14:12:09.754827640 +0300
@@ -59,7 +59,7 @@
 
 CC=${CC-cc}
 CFLAGS=${CFLAGS-"-O2"}
-LDFLAGS=${LDFLAGS-"-s"}
+LDFLAGS=${LDFLAGS-"-s -lintl"}
 echo CC=$CC >> make_include
 echo CFLAGS=$CFLAGS >> make_include
 echo LDFLAGS=$LDFLAGS >> make_include
@@ -519,7 +519,9 @@
   exit(0);
 }
 ' > conftest.c
+LIBS=-lintl
 eval $compile
+LIBS=
 if test -s conftest; then
         echo '#define HAVE_libintl_h' >> defines.h
         echo "You have <libintl.h> and gettext()"
--- /tmp/rules	2005-11-08 11:54:12.000000000 +0200
+++ util-linux-2.12p/debian/rules	2005-11-08 12:04:18.000000000 +0200
@@ -12,6 +12,7 @@
 ifndef DEB_HOST_GNU_SYSTEM
 DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
 endif
+DEB_HOST_GNU_SYSTEM=linux
 
 export arch = $(DEB_HOST_ARCH)
 version := $(shell sed -e '1{;s|^util-linux (\(.*\))\ .*|\1|;q;}' debian/changelog)

