summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vtk6.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vtk6.mk b/src/vtk6.mk
index 3776934..9100ec7 100644
--- a/src/vtk6.mk
+++ b/src/vtk6.mk
@@ -33,6 +33,9 @@ define $(PKG)_BUILD
# DirectX is detected on Mac OSX but we use OpenGL
$(SED) -i 's,d3d9,nod3d9,g' '$(1)/CMake/FindDirectX.cmake'
+ # reverse the fix-standalone patch as it upsets the cross build
+ cd '$(1)' && patch -p1 -u -R < '$(PWD)/src/vtk6-3-fix-standalone.patch'
+
# now the cross compilation
mkdir '$(1).cross_build'
cd '$(1).cross_build' && cmake \