Removed absolute path to libhwengine.so, the library must be preloaded from Java now. Which automagically knows where libhwengine.so is!
--- a/project_files/Android-build/SDL-android-project/jni/src/hedgewars_main.c Tue Jun 28 17:51:58 2011 +0200
+++ b/project_files/Android-build/SDL-android-project/jni/src/hedgewars_main.c Tue Jun 28 17:54:27 2011 +0200
@@ -15,7 +15,7 @@
__android_log_print(ANDROID_LOG_INFO, TAG, "HWEngine being loaded");
- handle = dlopen("/data/data/org.hedgewars/lib/libhwengine.so", RTLD_NOW|RTLD_GLOBAL);
+ handle = dlopen("libhwengine.so", RTLD_NOW|RTLD_GLOBAL);
if(!handle){
__android_log_print(ANDROID_LOG_INFO, "foo", dlerror());
__android_log_print(ANDROID_LOG_INFO, "foo", "error dlopen");