diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/rules.lib.GNU | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU index eb3d7a504df..092e47f9428 100644 --- a/include/makeinclude/rules.lib.GNU +++ b/include/makeinclude/rules.lib.GNU @@ -19,7 +19,7 @@ SOEXT=so endif VSHLIB = $(SHLIB:%.$(SOEXT)=%$(VAR).$(SOEXT)) -VOBJS = $(LSRC:%.cpp=$(VDIR)%.$(OBJEXT)) +VOBJS = $(subst .cpp,.$(OBJEXT),$(foreach file,$(LSRC),$(VDIR)$(notdir $(file)))) ifdef TEMPINCDIR VSHOBJS1 = |