1
0

140-remove-glib2.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. --- a/resource/csdk/connectivity/src/bt_le_adapter/linux/SConscript
  2. +++ b/resource/csdk/connectivity/src/bt_le_adapter/linux/SConscript
  3. @@ -73,7 +73,6 @@ env.AppendUnique(
  4. # The Linux BLE adapter implementation uses GDBus to make D-Bus based
  5. # method calls to BlueZ. Pull in the necessary dependencies.
  6. -env.ParseConfig("pkg-config gio-unix-2.0 --cflags --libs")
  7. # Set up commands to generate GDBus code from the D-Bus introspection
  8. # XML.
  9. --- a/resource/csdk/security/provisioning/sample/SConscript
  10. +++ b/resource/csdk/security/provisioning/sample/SConscript
  11. @@ -70,7 +70,6 @@ if target_os not in ['windows']:
  12. if target_os not in ['msys_nt', 'windows']:
  13. provisioning_env.AppendUnique(LIBS = ['dl', 'm'])
  14. - provisioning_env.ParseConfig('pkg-config --libs glib-2.0');
  15. provisioning_env.AppendUnique(LIBPATH = [env.get('BUILD_DIR')])
  16. else:
  17. provisioning_env.AppendUnique(LIBPATH = [os.path.join(env.get('BUILD_DIR'), 'resource', 'csdk')])
  18. --- a/resource/csdk/security/provisioning/SConscript
  19. +++ b/resource/csdk/security/provisioning/SConscript
  20. @@ -73,9 +73,6 @@ provisioning_env.PrependUnique(LIBS = ['
  21. provisioning_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509','mbedcrypto'])
  22. -if target_os not in ['msys_nt', 'windows', 'android', 'ios']:
  23. - provisioning_env.ParseConfig('pkg-config --libs glib-2.0')
  24. -
  25. if target_os in ['windows', 'msys_nt']:
  26. provisioning_env.AppendUnique(LIBS = ['ws2_32', 'advapi32', 'iphlpapi'])