Red Hat Bugzilla – Bug 618104
/Ddefine= does not work, unlike native version.
Last modified: 2010-07-26 05:51:02 EDT
Description of problem:
Native makensis supports defines via /Ddefine=value and -Ddefine=value, whereas the mingw32-nsis only does -Ddefine=value . /Ddefine=value
result in error messages like
Can't open script "/DVERSION=9.00"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Just try one of the examples with /Dsomething= vs -Dsomething=
Both dashes and slashes are supposed to be suported since 2.25 in upstream.
Slashes as option characters only make sense on platforms which don't use it as path separators. As such, upstream only supports them for native builds. Dashes are supported everywhere.
I think is at best only a marginal bug.
In any case, it's something that the reporter should pursue with
the upstream NSIS project. We don't change the option handling
ability of NSIS in any way compared to upstream, AFAIK.
Indeed we don't. This is exactly how things work upstream.