Fixed windows compatibility problems in Android.mk
authorAndrey Kamaev <no@email>
Tue, 28 Jun 2011 11:34:41 +0000 (11:34 +0000)
committerAndrey Kamaev <no@email>
Tue, 28 Jun 2011 11:34:41 +0000 (11:34 +0000)
OpenCV.mk.in

index 9cbff72..5c1b2ef 100644 (file)
@@ -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@