Commit ae5234e3 authored by Thomas De Schampheleire's avatar Thomas De Schampheleire Committed by Peter Korsgaard
Browse files

qwt: use TARGET_MAKE_ENV when running make and qmake



This patch prepends TARGET_MAKE_ENV to $(MAKE) and $(QT_QMAKE) command
lines, to make sure PATH is set correctly, and to line up with the qt5
packages that do this consistently.

Signed-off-by: default avatarThomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent b923fdff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -28,11 +28,11 @@ endif

define QWT_CONFIGURE_CMDS
	$(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri
	(cd $(@D); $(QT_QMAKE))
	(cd $(@D); $(TARGET_MAKE_ENV) $(QT_QMAKE))
endef

define QWT_BUILD_CMDS
	$(MAKE) -C $(@D)
	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef

# After installation, we fixup the INSTALL_PREFIX in qwtconfig.pri so