From ebe458ac204ff5e7eea3d760d74526f731d059fb Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 8 Oct 2020 17:24:13 +0200 Subject: [PATCH] Part: link TKStepAttr, TKStepBase and TKStep209 --- src/Mod/Part/App/ImportStep.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Mod/Part/App/ImportStep.cpp b/src/Mod/Part/App/ImportStep.cpp index 0f9be37eda..c8a7fb5f12 100644 --- a/src/Mod/Part/App/ImportStep.cpp +++ b/src/Mod/Part/App/ImportStep.cpp @@ -67,6 +67,9 @@ # include #endif +# include +# include + #include #include #include @@ -86,6 +89,11 @@ bool ReadNames (const Handle(XSControl_WorkSession) &WS); int Part::ImportStepParts(App::Document *pcDoc, const char* Name) { + // Use this to force to link against TKSTEPBase, TKSTEPAttr and TKStep209 + // in order to make RUNPATH working on Linux + StepElement_AnalysisItemWithinRepresentation stepElement; + StepVisual_AnnotationCurveOccurrence stepVis; + STEPControl_Reader aReader; TopoDS_Shape aShape; Base::FileInfo fi(Name);