qt5base/qmake.mk: make arg for project file optional
authorMirko Vogt <mirko-dev@nanl.de>
Mon, 6 Feb 2017 01:57:40 +0000 (02:57 +0100)
committerMirko Vogt <mirko-dev@nanl.de>
Mon, 6 Feb 2017 01:57:40 +0000 (02:57 +0100)
frameworks/qt5base/files/qmake.mk

index 7a799eb0bb963ae2976ed9d4c8daaa89e875a2cd..343572a5d29f95a3f735e3a3051b36f4c8e5d199 100644 (file)
@@ -75,7 +75,7 @@ define Build/Configure/Default
        TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
        qmake \
                -o $(PKG_BUILD_DIR)/$(MAKE_PATH)/Makefile \
-               $(PKG_BUILD_DIR)/$(MAKE_PATH)/$(if $(1),$(1),$(PKG_NAME)).pro
+               $(PKG_BUILD_DIR)/$(MAKE_PATH)/$(if $(1),$(1).pro,)
 endef
 
 # We need to pass all qmake related variables to $(MAKE) as well, as (generated) Makefiles may invoke qmake once again for creating further Makefiles.