diff -Nru libjpeg6b-6b/debian/changelog libjpeg6b-6b-16.1/debian/changelog --- libjpeg6b-6b/debian/changelog 2010-11-15 10:41:30.000000000 +0000 +++ libjpeg6b-6b-16.1/debian/changelog 2010-10-08 14:37:13.000000000 +0000 @@ -1,3 +1,9 @@ +libjpeg6b (6b-16.1-1cross1) maverick; urgency=low + + * Drop libtool for cross build + + -- Peter Pearse Fri, 08 Oct 2010 14:37:13 +0000 + libjpeg6b (6b-16.1) unstable; urgency=low * Non-maintainer upload. diff -Nru libjpeg6b-6b/debian/rules libjpeg6b-6b-16.1/debian/rules --- libjpeg6b-6b/debian/rules 2010-11-15 10:41:30.000000000 +0000 +++ libjpeg6b-6b-16.1/debian/rules 2010-10-08 14:34:16.000000000 +0000 @@ -21,13 +21,17 @@ build: build-stamp build-stamp: patch-stamp dh_testdir - ./configure --prefix=/usr --mandir=usr/share/man \ + CC=$(DEB_HOST_GNU_TYPE)-gcc CPP=$(DEB_HOST_GNU_TYPE)-g++ ./configure --prefix=/usr --mandir=usr/share/man \ --enable-static --enable-shared --enable-maxmem=1024 \ --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +ifeq ($(DEB_HOST_GNU_TYPE), $(DEB_BUILD_GNU_TYPE)) printf '#!/bin/sh\nexec libtool "$$@"\n' >libtool $(MAKE) $(MAKE) test - +else + @echo "TODO: Get cross libtool working" + $(MAKE) +endif touch build-stamp clean: patch