Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added third.c into build (via libtwolib-third.a), ndk-build still fai…
…ls because libtwolib-third.a has an unresolved reference to libtwolib-first.a
  • Loading branch information
alexcohn committed Dec 2, 2012
1 parent b4daf61 commit 3c85900
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion jni/Android.mk
Expand Up @@ -29,13 +29,20 @@ LOCAL_SRC_FILES := first.c

include $(BUILD_STATIC_LIBRARY)

include $(CLEAR_VARS)

LOCAL_MODULE := libtwolib-third
LOCAL_SRC_FILES := third.c

include $(BUILD_STATIC_LIBRARY)

# second lib, which will depend on and include the first one
#
include $(CLEAR_VARS)

LOCAL_MODULE := libtwolib-second
LOCAL_SRC_FILES := second.c

LOCAL_STATIC_LIBRARIES := libtwolib-first
LOCAL_STATIC_LIBRARIES := libtwolib-first libtwolib-third

include $(BUILD_SHARED_LIBRARY)

0 comments on commit 3c85900

Please sign in to comment.