aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppflags-iterator.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppflags-iterator.mk b/cppflags-iterator.mk
index d4e6375..89a472b 100644
--- a/cppflags-iterator.mk
+++ b/cppflags-iterator.mk
@@ -4,4 +4,4 @@
cpp-src := $(firstword $(cpp-srcs-left))
cpp-srcs-left := $(filter-out $(cpp-src),$(cpp-srcs-left))
-libof-$(cpp-src) := $(lib)
+libof-$(notdir $(cpp-src)) := $(lib)