Skip to content

Commit

Permalink
v8.pro: respect external-host-bindir, when set
Browse files Browse the repository at this point in the history
Upstream-Status: Pending

Signed-off-by: Martin Jansa <[email protected]>
  • Loading branch information
shr-project committed Apr 28, 2013
1 parent b662fa9 commit 68d7a48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/v8/v8.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ INCLUDEPATH -= $$MODULE_INCLUDES $$MODULE_INCLUDES/..
include(v8.pri)

contains(QT_CONFIG, v8snapshot) {
mkv8snapshot.commands = ../../bin/mkv8snapshot$$qtPlatformTargetSuffix() ${QMAKE_FILE_OUT}
mkv8snapshot.tool=$$[QT_EXTERNAL_HOST_BINS]/mkv8snapshot$$qtPlatformTargetSuffix()
!exists($$mkv8snapshot.tool): \
mkv8snapshot.tool=../../bin/mkv8snapshot$$qtPlatformTargetSuffix()
mkv8snapshot.commands = $$mkv8snapshot.tool ${QMAKE_FILE_OUT}
DUMMY_FILE = v8.pro
mkv8snapshot.input = DUMMY_FILE
mkv8snapshot.output = $$V8_GENERATED_SOURCES_DIR/snapshot.cpp
Expand Down

0 comments on commit 68d7a48

Please sign in to comment.