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 @@ -89,8 +89,8 @@ def get_env(self):
89
89
90
90
env ['ARCH' ] = self .arch
91
91
92
- if self .ctx .ndk_is_crystax : # AND: should use the right python version from the python recipe
93
- env ['CRYSTAX_PYTHON_VERSION' ] = '3.5'
92
+ if self .ctx .python_recipe . from_crystax :
93
+ env ['CRYSTAX_PYTHON_VERSION' ] = self . ctx . python_recipe . version
94
94
95
95
return env
96
96
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../other_builds/$(PYTHON2_NAME)/$(ARCH)
16
16
17
17
LOCAL_SHARED_LIBRARIES := SDL2 python_shared
18
18
19
- LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog $(EXTRA_LDLIBS ) # -lpython2.7
19
+ LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog $(EXTRA_LDLIBS )
20
20
21
21
LOCAL_LDFLAGS += -L$(LOCAL_PATH ) /../../../../other_builds/$(PYTHON2_NAME ) /$(ARCH ) /python2/python-install/lib $(APPLICATION_ADDITIONAL_LDFLAGS )
22
22
23
23
include $(BUILD_SHARED_LIBRARY )
24
24
25
25
ifdef CRYSTAX_PYTHON_VERSION
26
- $(call import-module,python/$(CRYSTAX_PYTHON_VERSION))
26
+ $(call import-module,python/$(CRYSTAX_PYTHON_VERSION))
27
27
endif
You can’t perform that action at this time.
0 commit comments