--- debian/rules.orgi 2011-08-26 10:17:13.157940710 +0200 +++ debian/rules 2011-08-26 10:21:23.027945339 +0200 @@ -1273,6 +1273,10 @@ chmod ugo-x $(d_cross)/$(PF)/$(DEB_HOST_GNU_TYPE)/$(TARGET)/lib/*.so endif + + # Get rid of .la files since libtool obviously has no idea about transient paths + rm -f $(d_cross)/$(PF)/$(DEB_HOST_GNU_TYPE)/$(TARGET)/lib/*.la + gzip -9 $(d_cross)/$(PF)/share/man/man1/* touch $@