linux-x86: Set emulator path using a "noop" script without argument.

This will fix issue where emulator is used doing:

  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} /path/to/prog arg1 arg2

Prior to this commit, it wasn't working because the following command
was used:

  /bin/sh -c /path/to/prog arg1 arg2
This commit is contained in:
Jean-Christophe Fillion-Robin
2016-04-15 19:39:21 -04:00
parent 4ccd459994
commit dc871beb50
3 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "$@"