about summary refs log tree commit diff
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 11:09:13 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 11:09:13 +0000
commitc5e7afbd8d62f3217687f21c0691a02797dc0df5 (patch)
treeb3fbbccb5ccc343826c21f40ce259d0edb2aae86 /tools/gen-deps.sh
parentd3fb16691fa3aed26bb4472295a4280d0f0aa2d1 (diff)
downloadmdevd-c5e7afbd8d62f3217687f21c0691a02797dc0df5.tar.gz
mdevd-c5e7afbd8d62f3217687f21c0691a02797dc0df5.tar.xz
mdevd-c5e7afbd8d62f3217687f21c0691a02797dc0df5.zip
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')"