Support VPATH builds.

committer: mfx <mfx> 979143860 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2001-01-10 16:24:20 +00:00
parent fd81cd2ae0
commit 5f3bdaeebe
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -36,7 +36,8 @@ file="$1"
bindir=`echo "$0" | sed -e 's|[^/][^/]*$||'`
bindir=`cd "$bindir" && pwd`
sstrip="$bindir/../util/sstrip/sstrip"
sstrip="./util/sstrip/sstrip"
test -x "$sstrip" || sstrip="$bindir/../util/sstrip/sstrip"
# get address of symbol "fold_begin"
fold=`nm -f bsd "$file" | grep fold_begin | sed 's/^0*\([0-9a-fA-F]*\).*/0x\1/'`