about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 6305ad753b..1c11fb930b 100644
--- a/Makerules
+++ b/Makerules
@@ -552,8 +552,8 @@ ifeq (yes,$(build-shared))
 install-lib-nosubdir: $(install-lib.so:%=$(libdir)/%)
 
 # Find which .so's have versions.
-versioned := $(foreach so,$(install-lib.so),\
-		       $(patsubst %,$(so),$($(so)-version)))
+versioned := $(strip $(foreach so,$(install-lib.so),\
+			       $(patsubst %,$(so),$($(so)-version))))
 
 # Install all the unversioned shared libraries.
 $(addprefix $(libdir)/,$(filter-out $(versioned),$(install-lib.so))): \