summaryrefslogtreecommitdiff
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 11:09:19 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 11:09:19 +0000
commit6f2f670455a24032face2d8ee4684d051ae0e907 (patch)
treec21d88129b79340e9bb33433094a2bfea7295557 /tools/gen-deps.sh
parentc33d6433975b553f62b29616d936c1e4dc859b11 (diff)
downloads6-dns-6f2f670455a24032face2d8ee4684d051ae0e907.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')"