From 5dd1598b2fa7ccb5445477410102cab554de7bce Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 29 Oct 2017 15:43:23 +0000 Subject: Support default pie --- tools/gen-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3