summaryrefslogtreecommitdiff
path: root/source4/build/make
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/make')
-rw-r--r--source4/build/make/templates.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/make/templates.mk b/source4/build/make/templates.mk
index d4973e7dd6..e89122b443 100644
--- a/source4/build/make/templates.mk
+++ b/source4/build/make/templates.mk
@@ -120,7 +120,7 @@ uninstallplugins::
endef
# abspath for older makes
-abspath := $(shell cd $(1); pwd)
+abspath = $(shell cd $(dir $(1)); pwd)/$(notdir $(1))
# Install a binary
# Arguments: path to binary to install