Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wifi cannot configure as default network interface #377

Commits on Oct 25, 2024

  1. Fix WiFi link error for as default network interface

    This fixes WiFi doesn't get linked in when configued as default network
    interface.
    ccli8 committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    5b5e7b0 View commit details
    Browse the repository at this point in the history
  2. Support WiFi as default network interface

    This requires support for weak symbol override. Object files arcived in
    static library don't always participate in linking, dependent on linker
    and link order. The steps below pull in the override object file anyway
    even though it comes from static library:
    
    1. Add e.g. GCC linker option "--undefined=<LINK_FOO>"
    2. Add <LINK_FOO> function with 'extern "C"' in override source file
    
    See: https://stackoverflow.com/questions/42588983/what-does-the-gnu-ld-undefined-option-do
    ccli8 committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    aab8e20 View commit details
    Browse the repository at this point in the history