Skip to content

Commit

Permalink
Adding quotes to prevent g++.sh from failing due to spaces in path.
Browse files Browse the repository at this point in the history
When there are spaces in the path name, `make`ing minko will fail. Wrapping the
call to the script fixes this issue.

Closes #194
  • Loading branch information
josefnpat authored and warrenseine committed Feb 5, 2015
1 parent 3bf6699 commit 97e0679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/gcc/gcc.lua
Expand Up @@ -16,7 +16,7 @@ table.inject(premake.tools.gcc, 'cxxflags.system.macosx', {

table.inject(premake.tools.gcc, 'tools.linux', {
cc = 'gcc',
cxx = MINKO_HOME .. '/tool/lin/script/g++.sh g++',
cxx = '\''..MINKO_HOME .. '/tool/lin/script/g++.sh\' g++',
})

table.inject(premake.tools.gcc, 'tools.macosx', {
Expand Down

0 comments on commit 97e0679

Please sign in to comment.