From 2143948483be4e7f5887d40348c0fcaf68348694 Mon Sep 17 00:00:00 2001
From: "Stephen A. Wood" <saw@jlab.org>
Date: Fri, 29 Sep 2017 14:31:53 -0400
Subject: [PATCH] Make linkdef lines for Scaler classes correct in Makefile

---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index a8874b2..b0f8576 100644
--- a/Makefile
+++ b/Makefile
@@ -220,6 +220,8 @@ $(LINKDEF): $(LINKDEF)_preamble $(LINKDEF)_postamble $(SRC)
 	@cat $(LINKDEF)_preamble > $(LINKDEF)
 	@echo $(SRC) | tr ' ' '\n' | sed -e "s|src/|#pragma link C++ class |" | sed -e "s|.cxx|+;|" >> $(LINKDEF)
 	@cat $(LINKDEF)_postamble >> $(LINKDEF)
+	@sed -e "s/class Scaler/class Decoder::Scaler/" $(LINKDEF) > $(LINKDEF)_tmp
+	@mv $(LINKDEF)_tmp $(LINKDEF)
 
 install:	all
 	cp -p $(USERLIB) $(HOME)/cue/SRC/ana
-- 
GitLab