Blame build/unix/run-third.sh
|
Packit |
f0b94e |
#!/bin/sh
|
|
Packit |
f0b94e |
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
f0b94e |
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit |
f0b94e |
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
LD_LIBRARY_PATH=.
|
|
Packit |
f0b94e |
export LD_LIBRARY_PATH
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
PROG=mozilla-bin
|
|
Packit |
f0b94e |
PLIBS="-L."
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
TOOL=third
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
for l in ./*.so components/*.so; do
|
|
Packit |
f0b94e |
PLIBS="$PLIBS -incobj $l"
|
|
Packit |
f0b94e |
done
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
$ECHO atom $PROG -tool $TOOL -env threads -g -all $PLIBS -toolargs="-leaks all -before NS_ShutdownXPCOM"
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
cd components && (
|
|
Packit |
f0b94e |
for f in lib*.so; do
|
|
Packit |
f0b94e |
mv ../$f.$PROG.$TOOL.threads .
|
|
Packit |
f0b94e |
done
|
|
Packit |
f0b94e |
)
|