File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ protected String[] getLibraries() {
3939 return new String [] {
4040 "SDL2" ,
4141 "SDL2_mixer" ,
42+ "SDL2_ttf" ,
4243 "main"
4344 };
4445 }
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ SDL_PATH := ../SDL2
88
99LOCAL_C_INCLUDES := $(LOCAL_PATH ) /$(SDL_PATH ) / \
1010 $(LOCAL_PATH ) /../SDL2_mixer \
11+ $(LOCAL_PATH ) /../SDL2_ttf \
1112 $(LOCAL_PATH ) /../simpleini \
1213
1314# Add your application source files here...
@@ -25,7 +26,7 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
2526 ../../../../../../src/sprite.cc \
2627 ../../../../../../src/utils.cc \
2728
28- LOCAL_SHARED_LIBRARIES := SDL2 SDL2_mixer
29+ LOCAL_SHARED_LIBRARIES := SDL2 SDL2_mixer SDL2_ttf
2930
3031LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
3132
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public class SDLActivity extends Activity {
5050 //System.loadLibrary("SDL2_image");
5151 System .loadLibrary ("SDL2_mixer" );
5252 //System.loadLibrary("SDL2_net");
53- // System.loadLibrary("SDL2_ttf");
53+ System .loadLibrary ("SDL2_ttf" );
5454 System .loadLibrary ("main" );
5555 }
5656
You can’t perform that action at this time.
0 commit comments