1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-10 09:02:49 +00:00

need to fix cross compilation - CGO is the issue

This commit is contained in:
2017-02-15 06:16:52 +00:00
parent 60df4267a9
commit 23a29a0d37
9 changed files with 21 additions and 11 deletions

View File

@@ -1,3 +1,18 @@
# GoBot
My experimental Discord bot
### Cross Compiling
The gopus library uses the CGO package, therefore building both Mac and Linux require `CGO_ENABLED=1`.
> Work in progress
Other libraries are needed in order for CGO work properly cross platform.
```
sudo apt-get install gcc-multilib
apt-get install libpango1.0
```
This are some packages I came across as suggestions after a little browsing. Doesn't seem to be working currently.
This is something I need to investigate more on in the future.