From ffae38940311001ee6428b370bf1da0b62dccc57 Mon Sep 17 00:00:00 2001 From: Gavin Halliday Date: Thu, 21 Mar 2024 10:42:55 +0000 Subject: [PATCH] HPCC-31507 Define the sizes of the resource objects that are linked into query dlls Signed-off-by: Gavin Halliday --- ecl/hqlcpp/hqlres.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ecl/hqlcpp/hqlres.cpp b/ecl/hqlcpp/hqlres.cpp index 5eaf1016032..0a06d7dd3c3 100644 --- a/ecl/hqlcpp/hqlres.cpp +++ b/ecl/hqlcpp/hqlres.cpp @@ -631,6 +631,7 @@ bool ResourceManager::flush(StringBuffer &filename, const char *basename, bool f } fwrite(s.data.get(), 1, s.data.length(), bin); fclose(bin); + fprintf(f, " .size %s,%u\n", label.str(), (unsigned)s.data.length()); } fclose(f); #endif