package vtk6: reverse standalone patch for cross build

This commit is contained in:
Tony Theodore 2013-08-28 00:15:15 +10:00
parent b7a8dc442f
commit 76a176ba17
1 changed files with 3 additions and 0 deletions

View File

@ -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 \