Skip to content

Defining OPENSSL_THREADS in common.gypi broke my Electron native addon build #27540

@murgatroid99

Description

@murgatroid99

Change #23426 added a section to common.gypi that conditionally defines OPENSSL_THREADS. This change was integrated into Electron 5 and as a result my native addon that depends on BoringSSL under Electron now fails to build under Electron 5 with the following error message:

../deps/grpc/third_party/boringssl/include/openssl/base.h:143:0: error: "OPENSSL_THREADS" redefined [-Werror]
 #define OPENSSL_THREADS

The full bug details are at electron/electron#18122.

Metadata

Metadata

Assignees

No one assigned

    Labels

    addonsIssues and PRs related to native addons.opensslIssues and PRs related to the OpenSSL dependency.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions