mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
The modifications to LD_LIBRARY_PATH now add the specified paths to the
beginning of LD_LIBRARY_PATH as opposed to simply replacing it. This allows users to use LD_LIBRARY_PATH when running tests (useful for when they have installed their own version of GCC). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6800 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b836c4a06
commit
259a144ef5
@ -4,7 +4,17 @@
|
||||
|
||||
rm -f test.bc.temp[12]
|
||||
|
||||
LD_LIBRARY_PATH=$3
|
||||
#
|
||||
# Split the current LD_LIBRARY_PATH into two separate components.
|
||||
#
|
||||
FirstLDP=`echo $LD_LIBRARY_PATH | cut -d\; -f1`
|
||||
SecondLDP=`echo $LD_LIBRARY_PATH | cut -d\; -f2`
|
||||
|
||||
#
|
||||
# Now create a new LD_LIBRARY_PATH with our command line options as
|
||||
# the first section.
|
||||
#
|
||||
LD_LIBRARY_PATH="$3:${FirstLDP}\;${SecondLDP}"
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
AS=$2/as
|
||||
|
@ -1,5 +1,16 @@
|
||||
#!/bin/sh
|
||||
LD_LIBRARY_PATH=$3
|
||||
|
||||
#
|
||||
# Split the current LD_LIBRARY_PATH into two separate components.
|
||||
#
|
||||
FirstLDP=`echo $LD_LIBRARY_PATH | cut -d\; -f1`
|
||||
SecondLDP=`echo $LD_LIBRARY_PATH | cut -d\; -f2`
|
||||
|
||||
#
|
||||
# Now create a new LD_LIBRARY_PATH with our command line options as
|
||||
# the first section.
|
||||
#
|
||||
LD_LIBRARY_PATH="$3:${FirstLDP}\;${SecondLDP}"
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
AS=$2/as
|
||||
|
Loading…
Reference in New Issue
Block a user