changeset 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 cfb6b6271a12
children a44deb7b4ee0
files sources/control-images/lfs-bootstrap/mnt/build/gettext-stub.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/control-images/lfs-bootstrap/mnt/build/gettext-stub.sh	Fri Dec 03 21:21:32 2010 -0600
+++ b/sources/control-images/lfs-bootstrap/mnt/build/gettext-stub.sh	Fri Dec 03 21:47:10 2010 -0600
@@ -2,6 +2,6 @@
 
 # Stub to compile packages that refuse to build without gettext.
 
-gcc -shared -o /usr/lib/libintl.so libintl-stub.c &&
+gcc -shared -fpic -o /usr/lib/libintl.so libintl-stub.c &&
 cp libintl-stub.h /usr/include/libintl.h &&
 cp msgfmt /usr/bin