summaryrefslogtreecommitdiff
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 11:09:24 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 11:09:24 +0000
commitf1480089f1c61fe66122368c7e436ba741881c87 (patch)
tree551b809bdc52afdcace4d631c491279d4eac7d7b /tools/gen-deps.sh
parent63da79c0bfd51770b7dd3eda7140741b4feb1d3e (diff)
downloads6-linux-utils-f1480089f1c61fe66122368c7e436ba741881c87.tar.xz
Make all-pic a user option
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-xtools/gen-deps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh
index 67ec2d4..6383ac2 100755
--- a/tools/gen-deps.sh
+++ b/tools/gen-deps.sh
@@ -65,7 +65,7 @@ for dir in $(ls -1 src | grep -v ^include) ; do
deps="$deps src/$dir/$dep"
fi
done < src/$dir/deps-lib/$file
- echo 'ifeq ($(strip $(DEFAULT_PIE)),)'
+ echo 'ifeq ($(strip $(STATIC_LIBS_ARE_PIC)),)'
echo "lib${file}.a.xyzzy:$deps"
echo else
echo "lib${file}.a.xyzzy:$(echo "$deps" | sed 's/\.o/.lo/g')"