What to do when SCons-based project tries to open $LDFLAGS value as a file?
Tijl Coosemans
tijl at FreeBSD.org
Fri Dec 29 10:14:44 UTC 2017
On Thu, 28 Dec 2017 23:35:00 -0800 Yuri <yuri at rawbw.com> wrote:
> 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.
Figure out where the double quotes come from and remove that.
More information about the freebsd-ports
mailing list