aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-04-17 11:11:48 +0200
committerraysan5 <raysan5@gmail.com>2016-04-17 11:11:48 +0200
commit0da88ac5c5aecba35fc8b79a7865de1247417991 (patch)
treea2d274494d4130e1ad9097638114b1189a7aa5c4
parentc8a30b262d26575bbdd25219f24720e79437cce1 (diff)
downloadraylib-0da88ac5c5aecba35fc8b79a7865de1247417991.tar.gz
raylib-0da88ac5c5aecba35fc8b79a7865de1247417991.zip
Updated template game library name
-rw-r--r--templates/android_project/AndroidManifest.xml3
-rw-r--r--templates/android_project/jni/Android.mk4
2 files changed, 3 insertions, 4 deletions
diff --git a/templates/android_project/AndroidManifest.xml b/templates/android_project/AndroidManifest.xml
index f9f41b33..6755027e 100644
--- a/templates/android_project/AndroidManifest.xml
+++ b/templates/android_project/AndroidManifest.xml
@@ -29,8 +29,7 @@
<!-- android:theme="@android:style/Theme.NoTitleBar.Fullscreen" -->
<!-- android:screenOrientation="portrait" -->
<!-- Tell NativeActivity the name of our .so -->
- <!--<meta-data android:name="android.app.lib_name" android:value="raylib_game" /> -->
- <meta-data android:name="android.app.lib_name" android:value="@string/app_name" />
+ <meta-data android:name="android.app.lib_name" android:value="raylib_game" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
diff --git a/templates/android_project/jni/Android.mk b/templates/android_project/jni/Android.mk
index 424db553..fe4ba813 100644
--- a/templates/android_project/jni/Android.mk
+++ b/templates/android_project/jni/Android.mk
@@ -73,7 +73,7 @@ include $(PREBUILT_STATIC_LIBRARY)
include $(CLEAR_VARS)
# Module name
-LOCAL_MODULE := raylibGame
+LOCAL_MODULE := raylib_game
# Module source files
LOCAL_SRC_FILES := basic_game.c
@@ -95,7 +95,7 @@ LOCAL_STATIC_LIBRARIES := android_native_app_glue raylib openal
# NOTE: It brokes the build, using static library instead
#LOCAL_SHARED_LIBRARIES := openal
-# Build the shared library libraylibGame.so
+# Build the shared library libraylib_game.so
include $(BUILD_SHARED_LIBRARY)
$(call import-module,android/native_app_glue)