1. Keigo Imai
  2. ocaml-toplevel-android

Source

ocaml-toplevel-android / jni / Android.mk

Diff from to

File jni/Android.mk

 LOCAL_MODULE    := ocamltop
 LOCAL_SRC_FILES := libocamltop.c start.c
 LOCAL_CFLAGS    := -std=c99 -I$(OCAMLANDROID_PREFIX)/lib/ocaml 
-LOCAL_LDLIBS := -llog  -L. -lcamlrun
+LOCAL_LDLIBS := -llog  -L$(NDK_APP_PROJECT_PATH)/jni -lcamlrun
 
 include $(BUILD_SHARED_LIBRARY)