0029297: [Regression] Configuration - Mingw-w64 build fails for TKOpenGl due to missi...
authorabv <abv@opencascade.com>
Mon, 6 Nov 2017 13:43:34 +0000 (16:43 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 9 Nov 2017 15:08:09 +0000 (18:08 +0300)
The order of external libraries is corrected in TKOpenGl/EXTERNLIB so that more higher-level libs are mentioned earlier than low-level libs on which the former depend (e.g. Gl2Ps before OpenGl) to ensure that GCC linker is able to resolve dependencies.

src/TKOpenGl/EXTERNLIB

index 7808f17..f5abfd2 100755 (executable)
@@ -2,13 +2,13 @@ TKernel
 TKService
 TKMath
 TKV3d
-CSF_OpenGlLibs
-CSF_XwLibs
-CSF_objc
-CSF_Appkit
-CSF_IOKit
+CSF_TBB
 CSF_FREETYPE
 CSF_GL2PS
+CSF_OpenGlLibs
 CSF_user32
 CSF_gdi32
-CSF_TBB
+CSF_XwLibs
+CSF_Appkit
+CSF_IOKit
+CSF_objc