#!/bin/bash
+hvconfig_pre()
+{
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --disable-shared"
+}
+
# When cross-compiling the Gettext configure script assumes we don't have a
# working wcwidth when we do. The following will fix possible compilation
# errors because of this assumption:
hvconfig()
{
cd ${LFS_TMP}/${PACKAGE}/gettext-tools
-
- FINAL_CFG_OPTS="\
- --prefix=/tools \
- --build=${CLFS_HOST} \
- --host=${CLFS_TARGET} \
- ${CONFIGURE_OPTS}"
-
- echo "Running configure with options:"
- echo " <${FINAL_CFG_OPTS}>"
-
- CC="${CC} ${CLFS_BUILDFLAGS}" CXX="${CXX} ${CLFS_BUILDFLAGS}" \
- ./configure ${FINAL_CFG_OPTS}
+ ./configure ${CONFIGURE_OPTS}
}
hvbuild()