The attached patch applied over bzip2 sources make it respect LDFLAGS settings by the user for bzip2 binary and libbz2.so. In addition, LDFLAGS="${LDFLAGS}" should be added to the second emake (the one after "use static &&") so that bzip2recover also respects them (by default Makefile sets LDFLAGS=). HTH, Diego
Created attachment 82573 [details, diff] bzip2-1.0.3-respectflags.patch
in cvs
You forgot to change the second emake line... I've taken care.