| PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python,python python-codecs" |
| PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" |
| if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then |
| cat > ${WORKDIR}/python << EOF |
| --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; |
| --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; |
| --exec-prefix) echo "${exec_prefix}" ;; |
| chmod +x ${WORKDIR}/python |