From 7bf6ec9745e6fead6bb17351f6cfb0c408dc61f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Mon, 1 May 2023 20:46:52 -0400
Subject: [PATCH] Use a separate variable for the target as the link-time
 object file.

Put that in your pipeline and smoke it.
---
 src/conio/Common.gmake | 1 +
 src/conio/GNUmakefile  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/conio/Common.gmake b/src/conio/Common.gmake
index b5e46e2056..f0a7a0f51b 100644
--- a/src/conio/Common.gmake
+++ b/src/conio/Common.gmake
@@ -176,4 +176,5 @@ endif
 
 ifdef NEED_BITMAP
  CIOLIB_INTERPOLATE_OBJS = $(CIOLIB_SRC)$(DIRSEP)$(MTOBJODIR)$(DIRSEP)rgbmap$(OFILE)
+ CIOLIB_INTERPOLATE_TARGET = $(MTOBJODIR)$(DIRSEP)rgbmap$(OFILE)
 endif
diff --git a/src/conio/GNUmakefile b/src/conio/GNUmakefile
index ac069f691a..79af95ff8a 100644
--- a/src/conio/GNUmakefile
+++ b/src/conio/GNUmakefile
@@ -48,7 +48,7 @@ endif
 
 
 # CIOLIB Library Link Rule
-$(CIOLIB-MT_BUILD): $(MTOBJODIR) $(OBJS) $(CIOLIB_INTERPOLATE_OBJS)
+$(CIOLIB-MT_BUILD): $(MTOBJODIR) $(OBJS) $(CIOLIB_INTERPOLATE_TARGET)
 	@echo Creating $@ ...
 	$(QUIET)$(AR) rc $@ $(OBJS)
 	$(QUIET)$(RANLIB) $@
-- 
GitLab