From 820cecfa2d3aa14d01f238a6586a294ea9009d14 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Tue, 28 Jun 2011 11:34:41 +0000 Subject: [PATCH] Fixed windows compatibility problems in Android.mk --- OpenCV.mk.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenCV.mk.in b/OpenCV.mk.in index 9cbff7288b..5c1b2ef0a3 100644 --- a/OpenCV.mk.in +++ b/OpenCV.mk.in @@ -1,5 +1,8 @@ +# In order to compile your application under cygwin +# you need to define NDK_USE_CYGPATH=1 before calling ndk-build + USER_LOCAL_PATH:=$(LOCAL_PATH) -LOCAL_PATH:=$(subst ?,,$(firstword ?$(subst \\, ,$(subst /, ,$(call my-dir))))) +LOCAL_PATH:=$(subst ?,,$(firstword ?$(subst \, ,$(subst /, ,$(call my-dir))))) OPENCV_THIS_DIR:=$(patsubst $(LOCAL_PATH)\\%,%,$(patsubst $(LOCAL_PATH)/%,%,$(call my-dir))) OPENCV_LIBS_DIR:=@CMAKE_LIBS_DIR_CONFIGCMAKE@