diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2016-01-29 13:27:53 -0800 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2016-02-02 19:23:47 +0000 |
commit | ccf74b592809e0c5a613eff27d6431a4c659e368 (patch) | |
tree | c4b08471a2dfa3dd19d11d7554fa4227178b7b7f /mkspecs/winrt-arm-msvc2015/qplatformdefs.h | |
parent | 3726c46735edb23ad37af818ff7d52d661ec87e7 (diff) |
Fix build on FreeBSD: 'environ' is not defined in a library
On FreeBSD, this variable is defined as a common symbol in the object file
/usr/lib/crt1.o, which is injected into the final application by the
compiler. This means when linking any library, 'environ' cannot be found
and we can't use -Wl,-no-undefined on FreeBSD.
I don't know why this wasn't caught before. Most likely, we failed to
pass the linker flag until some recent change to the buildsystem.
qprocess_unix.cpp:279: undefined reference to `environ'
Change-Id: I7a9e11d7b64a4cc78e24ffff142e02dbf188bca5
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'mkspecs/winrt-arm-msvc2015/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions