Created
January 27, 2019 14:40
-
-
Save opacam/f6f4232cfe5ae997b712b8611c3c88c0 to your computer and use it in GitHub Desktop.
Make python flags relative for Android.mk of bootstraps/common/build/jni/application/src (to fix python's linkage problems in Mac OS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: pythonforandroid/bootstraps/common/build/jni/application/src/Android.mk | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- pythonforandroid/bootstraps/common/build/jni/application/src/Android.mk (revision Local Version) | |
+++ pythonforandroid/bootstraps/common/build/jni/application/src/Android.mk (revision Shelved Version) | |
@@ -12,13 +12,13 @@ | |
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \ | |
start.c | |
-LOCAL_CFLAGS += -I$(PYTHON_INCLUDE_ROOT) $(EXTRA_CFLAGS) | |
+LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../../other_builds/$(MK_PYTHON_INCLUDE_ROOT) $(EXTRA_CFLAGS) | |
LOCAL_SHARED_LIBRARIES := SDL2 python_shared | |
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog $(EXTRA_LDLIBS) | |
-LOCAL_LDFLAGS += -L$(PYTHON_LINK_ROOT) $(APPLICATION_ADDITIONAL_LDFLAGS) | |
+LOCAL_LDFLAGS += -L$(LOCAL_PATH)/../../../../../other_builds/$(MK_PYTHON_LINK_ROOT) $(APPLICATION_ADDITIONAL_LDFLAGS) | |
include $(BUILD_SHARED_LIBRARY) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment