Mercurial > hg > aboriginal
comparison 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 |
comparison
equal
deleted
inserted
replaced
1316:cfb6b6271a12 | 1317:b8b7d9c9c9c0 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Stub to compile packages that refuse to build without gettext. | 3 # Stub to compile packages that refuse to build without gettext. |
4 | 4 |
5 gcc -shared -o /usr/lib/libintl.so libintl-stub.c && | 5 gcc -shared -fpic -o /usr/lib/libintl.so libintl-stub.c && |
6 cp libintl-stub.h /usr/include/libintl.h && | 6 cp libintl-stub.h /usr/include/libintl.h && |
7 cp msgfmt /usr/bin | 7 cp msgfmt /usr/bin |