Skip to content

build.go has hardcoded paths for osx/darwin #133

Open
@Radisovik

Description

@Radisovik

Is it intentional though? build.go has these two hardcoded paths for darwin:

// #cgo darwin CFLAGS: -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/openssl/include
// #cgo darwin LDFLAGS: -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto

Shouldn't it instead use pkg-config like windows and linux?

// #cgo linux darwin windows pkg-config: libssl libcrypto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions