build/unix/run-third.sh
author bugzilla@standard8.demon.co.uk
Fri, 30 Mar 2007 11:09:16 -0700
changeset 232 7cceaf37b4a7c3050ae9bb4a003a28d6640c1e0a
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Attempt to fix windows bustage when building latest c-sdk with mozilla apps as a result of bug 359716 - temporarily change c-sdk tag to blank this time, HEAD doesn't seem to work.

#!/bin/sh

LD_LIBRARY_PATH=.
export LD_LIBRARY_PATH

PROG=mozilla-bin
PLIBS="-L."

TOOL=third

for l in ./*.so components/*.so; do
    PLIBS="$PLIBS -incobj $l"
done

$ECHO atom $PROG -tool $TOOL -env threads -g -all $PLIBS -toolargs="-leaks all -before NS_ShutdownXPCOM"

cd components && (
    for f in lib*.so; do
        mv ../$f.$PROG.$TOOL.threads .
    done
)