LayerTwo-Labs / ethereum-sidechain

Ethereum sidechain implementation based on geth.
GNU Lesser General Public License v3.0
3 stars 3 forks source link

drivechain: use darwin cgo build tags #5

Closed torkelrogstad closed 11 months ago

torkelrogstad commented 11 months ago

Followup from #3

Disclaimer: not completely sure what's going on here. It appears like Darwin (macOS) behaves differently from Linux when it comes to how cgo symbols are exported (am I even using the correct nomenclature here?).

I played around with compiling in a native architecture (ARM), emulated x64 archicture in Docker and my native architecture in Docker, and this worked for all setups.

nchashch commented 11 months ago

This works on my machine as well.