Skip to content

Commit c2b80aa

Browse files
committed
btrfs: ldd
1 parent 3a953f8 commit c2b80aa

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

btrfs/btrfs.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )
44

5-
export LD_LIBRARY_PATH=${DIR}/lib
6-
export PATH=${DIR}/bin:${PATH}
7-
exec ${DIR}/lib/ld.so ${DIR}/bin/btrfs.box "$@"
5+
exec ${DIR}/lib/ld.so --library-path ${DIR}/lib ${DIR}/bin/btrfs.box "$@"

btrfs/mkfs.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )
44

5-
export LD_LIBRARY_PATH=${DIR}/lib
6-
export PATH=${DIR}/bin:${PATH}
7-
exec ${DIR}/lib/ld.so ${DIR}/bin/mkfs.btrfs "$@"
5+
exec ${DIR}/lib/ld.so --library-path ${DIR}/lib ${DIR}/bin/mkfs.btrfs "$@"

btrfs/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ cd ${DIR}
66
${DIR}/build/btrfs/bin/btrfs.sh --help
77
${DIR}/build/btrfs/bin/btrfs.sh version
88
${DIR}/build/btrfs/bin/mkfs.sh --help
9+
10+
ldd ${DIR}/build/btrfs/bin/btrfs.box
11+
ldd ${DIR}/build/btrfs/bin/mkfs.btrfs

0 commit comments

Comments
 (0)