File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
bootstraps/sdl2/build/jni/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ def get_env(self):
102102
103103 env ['ARCH' ] = self .arch
104104
105- if self .ctx .ndk_is_crystax : # AND: should use the right python version from the python recipe
106- env ['CRYSTAX_PYTHON_VERSION' ] = '3.5'
105+ if self .ctx .python_recipe . from_crystax :
106+ env ['CRYSTAX_PYTHON_VERSION' ] = self . ctx . python_recipe . version
107107
108108 return env
109109
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../other_builds/$(PYTHON2_NAME)/$(ARCH)
1616
1717LOCAL_SHARED_LIBRARIES := SDL2 python_shared
1818
19- LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog $(EXTRA_LDLIBS ) # -lpython2.7
19+ LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog $(EXTRA_LDLIBS )
2020
2121LOCAL_LDFLAGS += -L$(LOCAL_PATH ) /../../../../other_builds/$(PYTHON2_NAME ) /$(ARCH ) /python2/python-install/lib $(APPLICATION_ADDITIONAL_LDFLAGS )
2222
2323include $(BUILD_SHARED_LIBRARY )
2424
2525ifdef CRYSTAX_PYTHON_VERSION
26- $(call import-module,python/$(CRYSTAX_PYTHON_VERSION))
26+ $(call import-module,python/$(CRYSTAX_PYTHON_VERSION))
2727endif
You can’t perform that action at this time.
0 commit comments