Hello,

I need to make custom build of JACK that will reside in /opt/myjack

Now I have to use LD_LIBRARY_PATH because without one I get errors like this

/opt/myjack/bin/jack_lsp: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory

I would like to use -rpath linker flag, but I found no clean way to use it. I tried to set LDFLAGS and other env vars but waf keeps ignoring it.

Any advice?

Marcin