Greetings,

in tools we only get libbz2.a and a static bzip2 binary.

Remove the libbz2.a and create the shared libs and have the dynamic bzip2 binary:

sed -i -e 's:ln -s -f $(PREFIX)/bin/:ln -s :' Makefile
make -f Makefile-libbz2_so CC="${CC}" AR="${AR}" RANLIB="${RANLIB}"
make clean
make CC="${CC}" AR="${AR}" RANLIB="${RANLIB}"
make PREFIX=/tools install
cp -v bzip2-shared /tools/bin
cp -av libbz2.so* /tools/lib
ln -sv libbz2.so.1.0 /tools/lib/libbz2.so
ls -l /tools/bin/{bunzip2,bzcat,bzip2}
rm /tools/lib/libbz2.a

Any thoughts?

Sincerely,

William Harrington
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to