view images/lfs-bootstrap/mnt/build/gettext-stub.sh @ 19:b151b87ddf35

The installed files should be world readable.
author Rob Landley <rob@landley.net>
date Sun, 06 Nov 2011 09:27:37 -0600
parents bcd2e358d57f
children
line wrap: on
line source

#!/bin/sh

# Stub to compile packages that refuse to build without gettext.

gcc -shared -fpic -o libintl.so libintl-stub.c &&
install -m 755 libintl.so /usr/lib && 
install -m 644 libintl-stub.h /usr/include/libintl.h &&
install -m 755 msgfmt /usr/bin