summaryrefslogtreecommitdiffstats
path: root/mkspecs/freebsd-g++/qmake.conf
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-12-30 19:26:09 +0200
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-01-03 14:48:53 +0100
commit350c60b79e720d005a1a554fd177dbda607079cf (patch)
tree1e418a7f5304ae18dd4eb73a25730f8f233efbeb /mkspecs/freebsd-g++/qmake.conf
parent86ca4de8a257611d5811a1cbf9c8b5c9336188e9 (diff)
Link against QMAKE_LIBS_EXECINFO when using backtrace(3).
Add a new mkspec variable, QMAKE_LIBS_EXECINFO, for platforms where backtrace(3), backtrace_symbols(3) and others are not in libc, but rather in a separate library -- on the BSDs, this is libexecinfo. Use it in corelib/global/global.pri so that libqt5core links against it and has the proper dependency when necessary. Change-Id: I62ac36c9b3ba7ab0719420cb795087d43ec138a4 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/freebsd-g++/qmake.conf')
-rw-r--r--mkspecs/freebsd-g++/qmake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/freebsd-g++/qmake.conf b/mkspecs/freebsd-g++/qmake.conf
index 3d2a0e9090..47505fc06a 100644
--- a/mkspecs/freebsd-g++/qmake.conf
+++ b/mkspecs/freebsd-g++/qmake.conf
@@ -17,6 +17,7 @@ QMAKE_LFLAGS_THREAD = -pthread
QMAKE_LIBS =
QMAKE_LIBS_DYNLOAD =
+QMAKE_LIBS_EXECINFO = -lexecinfo
QMAKE_LIBS_X11 = -lXext -lX11 -lm
QMAKE_LIBS_OPENGL = -lGL
QMAKE_LIBS_THREAD =