What to do when SCons-based project tries to open $LDFLAGS value as a file?
Yuri
yuri at rawbw.com
Fri Dec 29 07:35:03 UTC 2017
I am getting this error from scons:
> g++6 -o lib/libtmv.so.0 " -L/usr/local/lib -fstack-protector
-Wl,-rpath=/usr/local/lib/gcc6 -L/usr/local/lib/gcc6" -fopenmp -shared ...
> g++6: error: -L/usr/local/lib -fstack-protector
-Wl,-rpath=/usr/local/lib/gcc6 -L/usr/local/lib/gcc6: No such file or
directory
It tries to open LDFLAGS that were passed to it as LINKFLAGS as a file.
Yuri
More information about the freebsd-ports
mailing list