ecobee / goalsa

Go bindings for audio capture and playback with ALSA and libasound
BSD 3-Clause "New" or "Revised" License
44 stars 14 forks source link

Use pkg-config instead of manual linked flags #3

Open meros opened 6 years ago

meros commented 6 years ago

I had problems with include folders and that -ldl was missing. This should fix both problems. I can now use goalsa when cross compiling using xgo:

xgo -deps=http://alsa.mirror.fr/lib/alsa-lib-1.0.9.tar.bz2 -targets=linux/arm .

xplshn commented 9 months ago

better yet, use pkgconfig