(cherry picked from commit 94036474c2) Signed-off-by: Domen Kožar <domen@dev.si>
94036474c2
The error was due to the fact that with-introduced bindings have lower priority and we do have `darwin` in scope already. Fixes #12350. Closes #12351. (A slightly different fix. I chose this to lower the risk of people re-introducing the mistake.)
This builds PhantomJS 2 from source in contrast to PhantomJS 1, for which static binary builds are available.