Skip to content

Commit

Permalink
fix link error when using ndk r10
Browse files Browse the repository at this point in the history
  • Loading branch information
minggo committed Jul 23, 2014
1 parent fe7c872 commit 0b75263
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lua-empty-test/project/proj.android/jni/Application.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
APP_STL := c++_static
APP_STL := c++_shared
NDK_TOOLCHAIN_VERSION=clang
LIBCXX_USE_GABIXX:=true

APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
APP_LDFLAGS := -latomic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
import org.cocos2dx.lib.Cocos2dxActivity;

public class AppActivity extends Cocos2dxActivity {
static {
System.loadLibrary("compiler_rt_shared");
System.loadLibrary("c++_shared");
}
}

0 comments on commit 0b75263

Please sign in to comment.