Python: while building modules we need to link against python.so from builddir. forcing this to prevent build and linking issues with adding -L. to LDFLAGS

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-03-10 07:49:56 +01:00
parent 9ac2b29412
commit 2c85f4739a

View File

@ -104,7 +104,7 @@ pre_configure_target() {
}
make_target() {
make -j1 CC="$TARGET_CC" \
make -j1 CC="$TARGET_CC" LDFLAGS="$TARGET_LDFLAGS -L." \
PYTHON_DISABLE_MODULES="$PY_DISABLED_MODULES" \
PYTHON_MODULES_INCLUDE="$TARGET_INCDIR" \
PYTHON_MODULES_LIB="$TARGET_LIBDIR"