gecko-dev/security/nss/cmd/shlibsign/sign.cmd
wtc%netscape.com a5b3f9441e Bug 201555: enable stripping of EXEs on OS/2 with gcc. The LIBPATHSTRICT
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
2003-04-15 04:08:09 +00:00

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