Birch-san / juicysfplugin

Audio plugin (e.g. VST, AU) to play soundfonts on macOS, Windows, Linux
GNU General Public License v3.0
211 stars 28 forks source link

add linux support #3

Closed charliewolf closed 6 years ago

charliewolf commented 6 years ago

Here are the changes I made to compile this for linux

Birch-san commented 6 years ago

Thanks! How does it find libfluidsynth? Does the user need to pass in LDFLAGS=/usr/local/lib or something?

Presumably this makes a non-portable release? Since it dynamically links to libfluidsynth, which presumably has many dynamic dependencies, and there's no bundling step, nor setting of rpaths, nor relinking.

I think that's fine if it's distributed via apt-get or similar, since then you can ensure that dependencies are already installed on the target machine.

But either way, this should be good for building & running locally.