Prepend make path versus append make path in Makefile
Original Reporter info from Mantis: DonAlfredo @DonAlfredo
-
Reporter name: Alfred
Original Reporter info from Mantis: DonAlfredo @DonAlfredo
- Reporter name: Alfred
Description:
Especially on Windows, sometimes wrong tools (from cygwin,...) are picked up by the Makefile.
Most of these cases can be prevented by prepending the make directory in stead of appending.
This "fix" could be applied to trunk and fixes. And also for Lazarus trunk and fixes.
Additional information:
Fix:
-SEARCHPATH+=(patsubst %/,%,
(subst ,/,$(dir $(MAKE))))
+SEARCHPATH:=(patsubst %/,%,
(subst ,/,$(dir $(MAKE)))) $(SEARCHPATH)
Mantis conversion info:
- Mantis ID: 36688
- Version: 3.3.1
- Monitored by: » @xhajt03 (Tomas Hajny)