mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 16:29:27 +02:00
* search for gtar first
git-svn-id: trunk@2600 -
This commit is contained in:
parent
ee1ef7d207
commit
f4738689ba
5
Makefile
5
Makefile
@ -1104,12 +1104,17 @@ endif
|
||||
endif
|
||||
export ZIPPROG
|
||||
ifndef TARPROG
|
||||
TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
|
||||
ifeq ($(TARPROG),)
|
||||
TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
|
||||
ifeq ($(TARPROG),)
|
||||
TARPROG= __missing_command_TARPROG
|
||||
else
|
||||
TARPROG:=$(firstword $(TARPROG))
|
||||
endif
|
||||
else
|
||||
TARPROG:=$(firstword $(TARPROG))
|
||||
endif
|
||||
endif
|
||||
export TARPROG
|
||||
ASNAME=$(BINUTILSPREFIX)as
|
||||
|
@ -612,7 +612,7 @@ implementation
|
||||
AddTool('PPUMOVE','ppumove','');
|
||||
AddTool('FPCMAKE','fpcmake','');
|
||||
AddTool('ZIPPROG','zip','');
|
||||
AddTool('TARPROG','tar','');
|
||||
AddTool('TARPROG','gtar','tar');
|
||||
AddIniSection('defaulttools');
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user