Statically linked bash

Bjoern Koenig bkoenig at cs.tu-berlin.de
Wed May 25 03:18:20 PDT 2005


Hello,

copy the attached patch to /usr/ports/shells/bash and apply it with

   patch -i Makefile-static.patch

It adds some knobs in the style of the port 'shells/bash2'. Build the 
shell with

   make -DWANT_STATIC_BASH -DWITHOUT_NLS install clean

The dependence to libintl and libiconv is the reason why your binary is 
still dynamically linked. WITHOUT_NLS solves it.

Regards Björn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile-static.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050525/dcef0302/Makefile-static.bin


More information about the freebsd-questions mailing list