1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00

Makefile: Fix RECURSIVE_RULE with nested subdirectories

The rule produces dependencies for .a files in subdirectories. After
moving FFmpeg subdirectories under ffmpeg/ "$(part)/$(part).a:" gave
results like "ffmpeg/libavutil/ffmpeg/libavutil.a:". Fix it to produce
"ffmpeg/libavutil/libavutil.a".
This commit is contained in:
Uoti Urpala 2008-04-29 05:39:13 +03:00
parent 06a35804f3
commit c57224ddec

View File

@ -689,7 +689,7 @@ dep depend: $(DEPS)
for part in $(PARTS); do $(MAKE) -C $$part depend; done
define RECURSIVE_RULE
$(part)/$(part).a:
$(part)/$(notdir $(part)).a:
$(MAKE) -C $(part)
endef