shithub: aacenc

Download patch

ref: c8d12a5c7c5b6f1c4593f0a6c1eeceacc4d7c941
parent: ceafe6d39d08cfbdb038a8a06833a69fee996504
author: Christopher Degawa <ccom@randomderp.com>
date: Sun Dec 29 16:10:15 EST 2019

frontend: fix out-of-root build

from https://github.com/m-ab-s/media-autobuild_suite/commit/11d58abd8fde7c70378993029bad7bbaeb5f7e3e

--- a/frontend/Makefile.am
+++ b/frontend/Makefile.am
@@ -14,10 +14,10 @@
 faacgui_SOURCES = maingui.c input.c input.h resource.h
 faac_LDADD += -lws2_32 icon.o
 faacgui_LDADD = $(faac_LDADD) faacguires.o -lcomdlg32
-faacguires.o:
-	$(WINDRES) faacgui.rc faacguires.o
-icon.o:
-	$(WINDRES) icon.rc icon.o
+faacguires.o: faacgui.rc
+	$(WINDRES) $(top_srcdir)/frontend/faacgui.rc faacguires.o
+icon.o: icon.rc
+	$(WINDRES) $(top_srcdir)/frontend/icon.rc icon.o
 endif
 
 endif # !USE_DRM