Subject: | Add /usr/local/include/opus to include path on non-Linux systems |
On FreeBSD systems I see compilation failures like this:
cc -c -I/usr/include/opus -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -DVERSION=\"0.001\" -DXS_VERSION=\"0.001\" -DPIC -fPIC "-I/usr/perl5.22.2p/lib/5.22.2/amd64-freebsd/CORE" Opusfile.c
In file included from Opusfile.xs:10:
/usr/local/include/opus/opusfile.h:110:11: error: 'opus_multistream.h' file not found with <angled> include; use "quotes" instead
# include <opus_multistream.h>
^~~~~~~~~~~~~~~~~~~~
"opus_multistream.h"
1 error generated.
I think this can be fixed by adding -I/usr/local/include/opus