summaryrefslogtreecommitdiffstats
path: root/src/qt.mk
diff options
context:
space:
mode:
authorHenning Heinold <h.heinold@tarent.de>2014-07-15 08:10:42 (GMT)
committerHenning Heinold <henning@itconsulting-heinold.de>2014-07-15 08:25:43 (GMT)
commita323414bc6c1d5a965a68da43c52dc5a1bab937d (patch)
tree39c242f52742a456a00a7b4e514c014162e4b071 /src/qt.mk
parenta8d49c6a34efef40bb9c27db896efb7f2de382a8 (diff)
downloadmxe-a323414bc6c1d5a965a68da43c52dc5a1bab937d.zip
mxe-a323414bc6c1d5a965a68da43c52dc5a1bab937d.tar.gz
mxe-a323414bc6c1d5a965a68da43c52dc5a1bab937d.tar.bz2
qt: build lrelease for host usage
The original patch comes from gnu-octave: http://savannah.gnu.org/bugs/download.php?file_id=28078
Diffstat (limited to 'src/qt.mk')
-rw-r--r--src/qt.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt.mk b/src/qt.mk
index eaba245..3233d48 100644
--- a/src/qt.mk
+++ b/src/qt.mk
@@ -71,6 +71,10 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j 1 install
ln -sf '$(PREFIX)/$(TARGET)/qt/bin/qmake' '$(PREFIX)/bin/$(TARGET)'-qmake-qt4
+ # lrelease (from linguist) needed to prepare translation files
+ $(MAKE) -C '$(1)/tools/linguist/lrelease' -j '$(JOBS)' install
+ ln -fs '$(PREFIX)/$(TARGET)/bin/lrelease' '$(PREFIX)/bin/$(TARGET)-lrelease'
+
cd '$(1)/tools/assistant' && '$(1)/bin/qmake' assistant.pro
# can't figure out where -lQtCLucene comes from so use
# sed on the output instead of patching the input