diff --git a/gst-libs/gst/codecparsers/Makefile.am b/gst-libs/gst/codecparsers/Makefile.am index 8df6533582..a09a8fd4e1 100644 --- a/gst-libs/gst/codecparsers/Makefile.am +++ b/gst-libs/gst/codecparsers/Makefile.am @@ -68,7 +68,7 @@ all-local: .timestamp.symlinks .timestamp.symlinks: $(GENFILES) touch $@ -$(gen_source_c): %.c: $(local_codecparsers_srcdir)/%.c %.h +$(gen_source_c): %.c: $(local_codecparsers_srcdir)/%.c $(gen_source_h) $(LN_S) -f $< $@ $(gen_source_h): %.h: $(local_codecparsers_srcdir)/%.h $(LN_S) -f $< $@ diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am index f6504f7f33..a790e87798 100644 --- a/gst-libs/gst/video/Makefile.am +++ b/gst-libs/gst/video/Makefile.am @@ -54,7 +54,7 @@ all-local: .timestamp.symlinks .timestamp.symlinks: $(GENFILES) touch $@ -$(gen_source_c): %.c: $(local_videoutils_srcdir)/%.c %.h +$(gen_source_c): %.c: $(local_videoutils_srcdir)/%.c $(gen_source_h) $(LN_S) -f $< $@ $(gen_source_h): %.h: $(local_videoutils_srcdir)/%.h $(LN_S) -f $< $@