Selaa lähdekoodia

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

Wendal Chen 5 vuotta sitten
vanhempi
sitoutus
31ce758c74
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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')