Python: dont use --as-needed in LDFLAGS because of linking problems with expat

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-10-23 07:46:25 +02:00
parent 8869861176
commit 28144a8c71

View File

@ -39,12 +39,17 @@ mkdir -p .objdir-target && cd .objdir-target
setup_toolchain target
# dont use some optimizations because of problems
# this fixes problems with expat (maybe)
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
ac_cv_file_dev_ptc=no \
ac_cv_file_dev_ptmx=yes \
ac_cv_func_lchflags_works=no \
ac_cv_func_chflags_works=no \
ac_cv_func_printf_zd=yes
OPT="$TARGET_CFLAGS -fno-strict-aliasing" \
LDFLAGS="$LDFLAGS -lexpat" \
../configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--cache-file=config.cache \