From f80ea810189e4f3ffef45deca6c2db0e06985832 Mon Sep 17 00:00:00 2001 From: "briano%netscape.com" Date: Wed, 10 Mar 1999 03:30:42 +0000 Subject: [PATCH] Lame tweak in order to do a test build on non-glibc Linux systems. git-svn-id: svn://10.0.0.236/trunk@23476 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/tinderbox/build-moz-ports.pl | 5 +++++ mozilla/tools/tinderbox/build-moz-smoke.pl | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/mozilla/tools/tinderbox/build-moz-ports.pl b/mozilla/tools/tinderbox/build-moz-ports.pl index 5a71da80f96..5dc14903f7a 100755 --- a/mozilla/tools/tinderbox/build-moz-ports.pl +++ b/mozilla/tools/tinderbox/build-moz-ports.pl @@ -124,6 +124,7 @@ sub SetupPath { if ( $OS eq 'NetBSD' ) { $ENV{'PATH'} = '/bin:/usr/bin:' . $ENV{'PATH'}; + $ENV{'LD_LIBRARY_PATH'} .= ':/usr/X11R6/lib'; $ConfigureEnvArgs = 'CC=egcc CXX=eg++'; $Compiler = 'egcc'; $mail = '/usr/bin/mail'; @@ -261,6 +262,10 @@ sub GetSystemInfo { } else { $ObjDir = 'obj-' . $CPU . '-pc-linux-gnu'; $BuildName = $host . ' ' . $OS . '/i386 ' . $OSVer . ' ' . ($BuildDepend?'Depend':'Clobber'); + # What's the right way to test for this? + if ( $host eq 'truth' ) { + $ObjDir .= 'libc1'; + } } } diff --git a/mozilla/tools/tinderbox/build-moz-smoke.pl b/mozilla/tools/tinderbox/build-moz-smoke.pl index 5a71da80f96..5dc14903f7a 100755 --- a/mozilla/tools/tinderbox/build-moz-smoke.pl +++ b/mozilla/tools/tinderbox/build-moz-smoke.pl @@ -124,6 +124,7 @@ sub SetupPath { if ( $OS eq 'NetBSD' ) { $ENV{'PATH'} = '/bin:/usr/bin:' . $ENV{'PATH'}; + $ENV{'LD_LIBRARY_PATH'} .= ':/usr/X11R6/lib'; $ConfigureEnvArgs = 'CC=egcc CXX=eg++'; $Compiler = 'egcc'; $mail = '/usr/bin/mail'; @@ -261,6 +262,10 @@ sub GetSystemInfo { } else { $ObjDir = 'obj-' . $CPU . '-pc-linux-gnu'; $BuildName = $host . ' ' . $OS . '/i386 ' . $OSVer . ' ' . ($BuildDepend?'Depend':'Clobber'); + # What's the right way to test for this? + if ( $host eq 'truth' ) { + $ObjDir .= 'libc1'; + } } }