| 219 | Also copy the SDL source code into the new directory: |
| 220 | |
| 221 | {{{ |
| 222 | $ cp ~/android/0ad/jni/SDL/src ~/android/0ad/jni/lib/SDL |
| 223 | }}} |
| 224 | Open the file `Android.mk` in the `jni/src` directory under the project directory in a text editor, e.g.:{{{ |
| 225 | $ nano -w ~/android/0ad/jni/src/Android.mk |
| 226 | }}} |
| 227 | Add the full path of the `jni/lib` directory to the `LOCAL_C_INCLUDES` declaration, e.g.: |
| 228 | |
| 229 | {{{ |
| 230 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \ |
| 231 | /home/youruser/android/0ad/jni/src/source \ |
| 232 | /home/youruser/android/0ad/jni/lib |
| 233 | |
| 234 | }}} |
| 235 | Then save the file and exit the text editor. |
| 236 | |
| 237 | |
| 238 | |