mirror of https://git.wownero.com/dsc/mxe.git
qtbase: improve makefile style
This commit is contained in:
parent
b03103d422
commit
16952b5f6f
|
@ -41,7 +41,7 @@ define $(PKG)_BUILD
|
|||
-force-pkg-config \
|
||||
-no-use-gold-linker \
|
||||
-release \
|
||||
-static \
|
||||
$(if $(BUILD_STATIC), -static,)$(if $(BUILD_SHARED), -shared,) \
|
||||
-prefix '$(PREFIX)/$(TARGET)/qt5' \
|
||||
-no-icu \
|
||||
-opengl desktop \
|
||||
|
@ -115,10 +115,6 @@ define $(PKG)_BUILD
|
|||
)
|
||||
endef
|
||||
|
||||
|
||||
$(PKG)_BUILD_SHARED = $(subst -static ,-shared ,\
|
||||
$($(PKG)_BUILD))
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
|
||||
-prefix '$(PREFIX)/$(TARGET)/qt5' \
|
||||
|
|
Loading…
Reference in New Issue