Ver código fonte

fix: 编译air640w代码时报http库不存在

Wendal Chen 5 anos atrás
pai
commit
31ce758c74
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      luat/modules/SConscript

+ 1 - 2
luat/modules/SConscript

@@ -21,9 +21,8 @@ if not GetDepend(['RT_USING_I2C']):
     src.remove('luat_lib_i2c.c')
 if not GetDepend(['RT_USING_SPI']):
     src.remove('luat_lib_spi.c')
-if not GetDepend(['PKG_USING_WEBCLIENT']):
-    src.remove('luat_lib_http.c')
 if not GetDepend(['SAL_USING_POSIX']):
+    src.remove('luat_lib_http.c')
     src.remove('luat_lib_socket.c')
 if not GetDepend(['RT_USING_ADC']):
     src.remove('luat_lib_adc.c')