summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2015-05-30 19:16:11 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2015-05-30 19:16:11 +0200
commite606ee42c20dbed0a41cf6d676dcf4833be9df9b (patch)
tree0003cb572c1e4d0e7d93e6548c3e692ed59d6a3d
parentef21b304547a20569e95df782e29759b5f9ee44a (diff)
downloadrockbox-e606ee4.tar.gz
rockbox-e606ee4.tar.bz2
rockbox-e606ee4.zip
Make lrelease detection work on Windows.
Make sure to expand variable before testing. Change-Id: I6b6f11782677c178fe3f2209f84887084940976a
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 71ab77ac62..243e592255 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -111,11 +111,11 @@ win32:!cross {
}
lrelease.commands = $$LRELEASE -silent $$_PRO_FILE_
QMAKE_EXTRA_TARGETS += lrelease
-exists(LRELEASE) {
+exists($$LRELEASE) {
message("using lrelease at $$LRELEASE")
PRE_TARGETDEPS += lrelease
}
-!exists(LRELEASE) {
+!exists($$LRELEASE) {
warning("could not find lrelease. Skipping translations.")
}