diff options
author | Moritz Bunkus <m.bunkus@linet-services.de> | 2014-01-30 16:00:54 (GMT) |
---|---|---|
committer | Moritz Bunkus <m.bunkus@linet-services.de> | 2014-01-30 16:00:54 (GMT) |
commit | 821a0dcfadc6ce0af16f38e960b63794d288c3b4 (patch) | |
tree | 21de5d9fe9a2ee2f1b974cef85f3ed64f39dafc0 /src | |
parent | 3b09fb3552a46b0ac7aa63a205fceaca1be6d0bb (diff) | |
download | mxe-821a0dcfadc6ce0af16f38e960b63794d288c3b4.zip mxe-821a0dcfadc6ce0af16f38e960b63794d288c3b4.tar.gz mxe-821a0dcfadc6ce0af16f38e960b63794d288c3b4.tar.bz2 |
Qt4, Qt5: create symlinks $(TARGET)-qmake-qtX in $(PREFIX)/bin
That way a configure script looking for "qmake-qt4" or "qmake-qt5"
with AC_PATH_PROG will find e.g. x86_64-w64-mingw32-qmake-qt5
properly. See
http://thread.gmane.org/gmane.comp.gnu.mingw.cross-env/3424/focus=3426
Diffstat (limited to 'src')
-rw-r--r-- | src/qt.mk | 1 | ||||
-rw-r--r-- | src/qtbase.mk | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -69,6 +69,7 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)' -j '$(JOBS)' rm -rf '$(PREFIX)/$(TARGET)/qt' $(MAKE) -C '$(1)' -j 1 install + ln -sf '$(PREFIX)/$(TARGET)/qt/bin/qmake' '$(PREFIX)/bin/$(TARGET)'-qmake-qt4 cd '$(1)/tools/assistant' && '$(1)/bin/qmake' assistant.pro $(MAKE) -C '$(1)/tools/assistant' -j '$(JOBS)' install diff --git a/src/qtbase.mk b/src/qtbase.mk index 4b731c4..855b38a 100644 --- a/src/qtbase.mk +++ b/src/qtbase.mk @@ -56,6 +56,7 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)' -j '$(JOBS)' QMAKE="$(1)/bin/qmake CONFIG-='debug debug_and_release'" rm -rf '$(PREFIX)/$(TARGET)/qt5' $(MAKE) -C '$(1)' -j 1 install + ln -sf '$(PREFIX)/$(TARGET)/qt5/bin/qmake' '$(PREFIX)/bin/$(TARGET)'-qmake-qt5 mkdir '$(1)/test-qt' cd '$(1)/test-qt' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' '$(PWD)/src/qt-test.pro' |