mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-06 11:20:37 +01:00
fixed fpc_crosswin32 to not rename windres
git-svn-id: trunk@7745 -
This commit is contained in:
parent
03ef8b03d2
commit
14358611e6
@ -133,7 +133,10 @@ if [ $BuildCrossWin32RPM = "yes" ]; then
|
||||
|
||||
cd ${BinUtilsDir}
|
||||
for binutility in $(ls -B ${BinUtilsPrefix}*); do
|
||||
NewName=$(echo $binutility | sed -e "s#$BinUtilsPrefix#fpc-${TargetCPU}-${TargetOS}-#")
|
||||
NewName=$(echo $binutility | sed -e "s#^$BinUtilsPrefix##")
|
||||
if [ ! $NewName = "windres" ]; then
|
||||
NewName="fpc-${TargetCPU}-${TargetOS}-$NewName"
|
||||
fi
|
||||
cp ${BinUtilsDir}${binutility} ${BinDir}${NewName}
|
||||
done
|
||||
cd -
|
||||
|
||||
Loading…
Reference in New Issue
Block a user