beautify generated spacing
don't have extra spaces in the pkg-config calls when no environment variables are injected. Change-Id: Ieb14f775b2a04726e8f62114b69d9be7fa662eb0 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
0c382efc79
commit
16203353d0
@ -286,8 +286,8 @@ defineReplace(qtConfFindInPath) {
|
|||||||
|
|
||||||
defineReplace(qtConfPkgConfigEnv) {
|
defineReplace(qtConfPkgConfigEnv) {
|
||||||
env =
|
env =
|
||||||
!isEmpty(PKG_CONFIG_SYSROOT_DIR): env += "$${SETENV_PFX}PKG_CONFIG_SYSROOT_DIR=$${PKG_CONFIG_SYSROOT_DIR}$${SETENV_SFX}"
|
!isEmpty(PKG_CONFIG_SYSROOT_DIR): env = "$${SETENV_PFX}PKG_CONFIG_SYSROOT_DIR=$${PKG_CONFIG_SYSROOT_DIR}$${SETENV_SFX} "
|
||||||
!isEmpty(PKG_CONFIG_LIBDIR): env += "$${SETENV_PFX}PKG_CONFIG_LIBDIR=$${PKG_CONFIG_LIBDIR}$${SETENV_SFX}"
|
!isEmpty(PKG_CONFIG_LIBDIR): env = "$$env$${SETENV_PFX}PKG_CONFIG_LIBDIR=$${PKG_CONFIG_LIBDIR}$${SETENV_SFX} "
|
||||||
return($$env)
|
return($$env)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user