Browse Source

python: improved cross-compiling avoiding host libs to leak in and getting linker errors

stable/0.6
Christian Wiese 11 years ago
parent
commit
ab88a05100
  1. 6
      python/python/python.conf

6
python/python/python.conf

@ -59,4 +59,10 @@ if atstage cross; then
var_append configcache ' ' "ac_cv_file__dev_ptmx=yes" var_append configcache ' ' "ac_cv_file__dev_ptmx=yes"
# no /dev/ptc because it is AIX specific # no /dev/ptc because it is AIX specific
var_append configcache ' ' "ac_cv_file__dev_ptc=no" var_append configcache ' ' "ac_cv_file__dev_ptc=no"
# point to the sandbox to avoid host libs to leak in
var_insert CFLAGS ' ' "-I$root/usr/include"
var_insert LDFLAGS ' ' "-L$root/usr/lib -L$root/lib"
var_append configprefix ' ' "CFLAGS=\"$CFLAGS\""
var_append configprefix ' ' "LDFLAGS=\"$LDFLAGS\""
fi fi

Loading…
Cancel
Save