qtifw: wrap lines and fix darwin build (creates *.app)

This commit is contained in:
Tony Theodore 2019-10-13 20:30:22 +11:00
parent dffe45214e
commit f312209ac2
1 changed files with 9 additions and 2 deletions

View File

@ -29,6 +29,13 @@ define $(PKG)_BUILD_STATIC
$(MAKE) -C '$(1)' -j '$(JOBS)' || $(MAKE) -C '$(1)' -j 1
$(MAKE) -C '$(1)' -j 1 install
# build the tutorial installer in /tmp, because the binarycreator internal rename will fail if /tmp is not in the same filesystem as mxe
cd '$(1)examples/tutorial' && '$(PREFIX)/bin/$(BUILD)-binarycreator' -c config/config.xml -p packages -t $(PREFIX)/$(TARGET)/qt5/bin/installerbase.exe /tmp/test-$(PKG)-tutorialinstaller.exe && mv /tmp/test-$(PKG)-tutorialinstaller.exe $(PREFIX)/$(TARGET)/bin/test-$(PKG)-tutorialinstaller.exe
# build the tutorial installer in /tmp, because the binarycreator internal
# rename will fail if /tmp is not in the same filesystem as mxe
cd '$(1)examples/tutorial' && \
'$(PREFIX)/bin/$(BUILD)-binarycreator' \
-c config/config.xml \
-p packages \
-t '$(PREFIX)/$(TARGET)/qt5/bin/installerbase.exe' \
'/tmp/test-$(PKG)-tutorialinstaller.exe' && \
mv '/tmp/test-$(PKG)-tutorialinstaller.exe'* '$(PREFIX)/$(TARGET)/bin/'
endef