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-29 15:43:23 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-29 15:43:23 +0000
commit5dd1598b2fa7ccb5445477410102cab554de7bce (patch)
tree5b32a24336fc98193e95d502fb0ca3d47505f754 /tools/gen-deps.sh
parent1c24dffd66fd7673635f81c6228d28ddc675991f (diff)
downloadexecline-5dd1598b2fa7ccb5445477410102cab554de7bce.tar.gz
execline-5dd1598b2fa7ccb5445477410102cab554de7bce.tar.xz
execline-5dd1598b2fa7ccb5445477410102cab554de7bce.zip
Support default pie
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-xtools/gen-deps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh
index 3f6838e..67ec2d4 100755
--- a/tools/gen-deps.sh
+++ b/tools/gen-deps.sh
@@ -68,10 +68,10 @@ for dir in $(ls -1 src | grep -v ^include) ; do
     echo 'ifeq ($(strip $(DEFAULT_PIE)),)'
     echo "lib${file}.a.xyzzy:$deps"
     echo else
-    echo "lib${file}.a.xyzzy:$(echo "$deps" | sed 's/\.o$/.lo/g')"
+    echo "lib${file}.a.xyzzy:$(echo "$deps" | sed 's/\.o/.lo/g')"
     echo endif
     echo "lib${file}.so.xyzzy: EXTRA_LIBS :=$libs"
-    echo "lib${file}.so.xyzzy:$(echo "$deps" | sed 's/\.o$/.lo/g')"
+    echo "lib${file}.so.xyzzy:$(echo "$deps" | sed 's/\.o/.lo/g')"
   done
 
   for file in $(ls -1 src/$dir/deps-exe) ; do