view sources/control-images/lfs-bootstrap/mnt/build/gettext-stub.sh @ 1317:b8b7d9c9c9c0

Need -fpic to build a shared libarary.
author Rob Landley <rob@landley.net>
date Fri, 03 Dec 2010 21:47:10 -0600
parents 07852d3a2e50
children
line wrap: on
line source

#!/bin/sh

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

gcc -shared -fpic -o /usr/lib/libintl.so libintl-stub.c &&
cp libintl-stub.h /usr/include/libintl.h &&
cp msgfmt /usr/bin