Skip to content

Issues with cross compiling on Darwin #1

@snikch

Description

@snikch

Hey, thanks for the package! We're just working on our deploy process and cross compiling a binary to deploy from a Mac OS Yosemite system is causing build issues which seem quite interesting.

This runs fine:

GOARCH=amd64 GOOS=darwin go build 

This does not:

GOARCH=amd64 GOOS=linux go build 
# github.com/blackjack/syslog
../../../../blackjack/syslog/logmask.go:19: undefined: Priority
../../../../blackjack/syslog/logmask.go:27: undefined: Priority
../../../../blackjack/syslog/writer.go:5: undefined: Priority

Do you have any idea where I should start looking to debug this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions