@@ -212,16 +212,16 @@ def main():
212
212
NDK_BUILD_CMD = "ndk-build _ARCH_=" + sys .argv [2 ] + " NDK_DEBUG=0 -j 4 -B SDK=0 LIBPREFIX=mars -C "
213
213
flag = 1
214
214
else :
215
- num = raw_input ("Enter menu:\n 1. build mars static libs.\n 2. build mars shared libs.\n 3. build xlog static libs.\n 4. build xlog shared libs.\n 5. exit.\n " )
215
+ num = raw_input ("Enter menu:\n 1. build mars shared libs.\n 2. build mars static libs.\n 3. build xlog static libs.\n 4. build xlog shared libs.\n 5. exit.\n " )
216
216
archs = choose_android_mars_jni_arch ()
217
217
if len (archs ) == 0 :
218
218
return
219
219
220
220
if flag == 1 :
221
221
if "1" == num :
222
- return build_android_mars_static_libs ()
222
+ return build_android_mars_shared_libs ()
223
223
elif "2" == num :
224
- return build_android_mars_shared_libs ()
224
+ return build_android_mars_static_libs ()
225
225
elif "3" == num :
226
226
return build_android_xlog_static_libs ()
227
227
elif "4" == num :
@@ -252,9 +252,9 @@ def main():
252
252
arch = archs [i ]
253
253
254
254
if "1" == num :
255
- build_android_mars_static_libs (MARS_LIBS_PATH , arch )
256
- elif "2" == num :
257
255
build_android_mars_shared_libs (MARS_LIBS_PATH , arch )
256
+ elif "2" == num :
257
+ build_android_mars_static_libs (MARS_LIBS_PATH , arch )
258
258
elif "3" == num :
259
259
build_android_xlog_static_libs (XLOG_LIBS_PATH , arch )
260
260
elif "4" == num :
@@ -280,7 +280,7 @@ def main():
280
280
for lib in glob .glob (symbols_des_dir + "/*.so" ):
281
281
shutil .copy (lib , symbols_cache_dir )
282
282
283
- if "1 " == num or "3" == num :
283
+ if "2 " == num or "3" == num :
284
284
return
285
285
286
286
shutil .rmtree (SO_DES_DIR )
0 commit comments