Bug #19093 2013-08-22 16:03

basos

Parameter substitution does not always happen in options

When a custom variable (parameter) is defined in the build options, this is not substituted when it a member of the command path defined with backticks under the "other compiler options" or "other linker options".

Example:

Custom variable:

WX_VAR=build_mswd

Under other linker options:

test if var exists:

`echo TEST ${WX_VAR}`

output (part of the link command): (VAR IS OK)

TEST build_mswd ".next argument

the same command as in pre-build script

`/path/to/wxbuild/${WX_VAR}/wx-config --version=2.8 --static=no --unicode=yes --debug=yes --libs std`

output: NOTHING, it should yield the wx-config. This is obtained if the command is written without the parameter:

`/path/to/wxbuild/build_mswd/wx-config --version=2.8 --static=no --unicode=yes --debug=yes --libs std`

Test under pre-build script:

command:

echo `../_distrib/msw/wxMSW-2.8.8/${WX_VAR}/wx-config --version=2.8 --static=no --unicode=yes --debug=yes --libs std`

output: OK

-L....

Category
Compiler
Group
 
Status
Open
Close date
 
Assigned to