Commit 5a6bce88 for tesseract
commit 5a6bce88f2babbb39c4a47a70811463c939be09b
Author: zdenop <zdenop@gmail.com>
Date: Tue Aug 11 23:05:32 2026 +0200
exports GetDetector() from the tesseract DLL, so linker can resolve it.
diff --git a/src/arch/simddetect.h b/src/arch/simddetect.h
index e4fedace..f3f4b6fa 100644
--- a/src/arch/simddetect.h
+++ b/src/arch/simddetect.h
@@ -74,7 +74,7 @@ public:
// The detector is constructed on first use (a function local static
// variable), which avoids an unspecified order of static initialization
// with the static members of other classes (like IntSimdMatrix).
- static const SIMDDetect &GetDetector();
+ static TESS_API const SIMDDetect &GetDetector();
private:
// Constructor, must set all static member variables.