Skip to content

Commit 61b0034

Browse files
committed
+ Automatic select Android ABI.
- Removed unnecessary RPATH build option.
1 parent 50f6642 commit 61b0034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/opencv/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function build_opencv() {
3737
push_arm
3838

3939
export ANDROID_NDK=$ANDROIDNDK
40-
try cmake -DP4A=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_TOOLCHAIN_FILE=$_cvsrc/platforms/android/android.toolchain.cmake \
40+
try cmake -DP4A=ON -DANDROID_ABI=$ARCH -DCMAKE_TOOLCHAIN_FILE=$_cvsrc/platforms/android/android.toolchain.cmake \
4141
-DPYTHON_INCLUDE_PATH=$_pyroot/include/python2.7 -DPYTHON_LIBRARY=$_pyroot/lib/libpython2.7.so \
4242
-DPYTHON_NUMPY_INCLUDE_DIR=$SITEPACKAGES_PATH/numpy/core/include \
4343
-DANDROID_EXECUTABLE=$ANDROIDSDK/tools/android \

0 commit comments

Comments
 (0)