Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gmake2 #1108

Merged
merged 1 commit into from
Jun 5, 2018
Merged

Fix gmake2 #1108

merged 1 commit into from
Jun 5, 2018

Conversation

TurkeyMan
Copy link
Contributor

bindirs are added to make files for gmake2

function utility.exepaths(cfg, toolset)
local dirs = project.getrelative(cfg.project, cfg.bindirs)
if #dirs > 0 then
p.outln('EXE_PATHS = export PATH=$(EXECUTABLE_PATHS):$$PATH;')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EXE_PATHS = export PATH=$(EXECUTABLE_PATHS):$$PATH;
wouldn't it make more sense to be this:
EXE_PATHS = PATH=$(EXECUTABLE_PATHS):$$PATH

seeing the implementation here:
_p('\t$(SILENT) $(EXE_PATHS) %s', cmd)

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed it.

bindirs are added to make files for gmake2
@TurkeyMan TurkeyMan changed the title Fix gmake2 (#169) Fix gmake2 Jun 5, 2018
@samsinsane samsinsane merged commit f46a27e into premake:master Jun 5, 2018
@TurkeyMan TurkeyMan deleted the gmake_fix branch June 6, 2018 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants