|
@@ -36,10 +36,10 @@ endif
|
|
# QtWebkit's build system uses python, but only supports python2. We work
|
|
# QtWebkit's build system uses python, but only supports python2. We work
|
|
# around this by forcing python2 early in the PATH, via a python->python2
|
|
# around this by forcing python2 early in the PATH, via a python->python2
|
|
# symlink.
|
|
# symlink.
|
|
-QT5WEBKIT_ENV = PATH=$(@D)/bin:$(BR_PATH)
|
|
|
|
|
|
+QT5WEBKIT_ENV = PATH=$(@D)/host-bin:$(BR_PATH)
|
|
define QT5WEBKIT_PYTHON2_SYMLINK
|
|
define QT5WEBKIT_PYTHON2_SYMLINK
|
|
- mkdir -p $(@D)/bin
|
|
|
|
- ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/bin/python
|
|
|
|
|
|
+ mkdir -p $(@D)/host-bin
|
|
|
|
+ ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/host-bin/python
|
|
endef
|
|
endef
|
|
QT5WEBKIT_PRE_CONFIGURE_HOOKS += QT5WEBKIT_PYTHON2_SYMLINK
|
|
QT5WEBKIT_PRE_CONFIGURE_HOOKS += QT5WEBKIT_PYTHON2_SYMLINK
|
|
|
|
|