mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
a5b3f9441e
change in sign.cmd is so that you can run a VACPP build when gcc is building (otherwise shlibsign loads the wrong DLLs). The patch is contributed by IBM. Modified Files: coreconf/OS2.mk nss/cmd/shlibsign/sign.cmd
20 lines
460 B
Batchfile
20 lines
460 B
Batchfile
/* Equivalent to sign.sh for OS/2 */
|
|
PARSE ARG dist objdir os_target therest
|
|
dist=forwardtoback(dist);
|
|
objdir=forwardtoback(objdir);
|
|
'echo 'dist
|
|
'echo 'objdir
|
|
'set BEGINLIBPATH='dist'\lib;%BEGINLIBPATH%'
|
|
'set LIBPATHSTRICT=T'
|
|
objdir'\shlibsign -v -i 'therest
|
|
exit
|
|
|
|
forwardtoback: procedure
|
|
arg pathname
|
|
parse var pathname pathname'/'rest
|
|
do while (rest <> "")
|
|
pathname = pathname'\'rest
|
|
parse var pathname pathname'/'rest
|
|
end
|
|
return pathname
|