Commit b48ba2c2 authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Use the qmake variable for -ldl on Unix systems



There are two important benefits in using this variable:
 * on systems where the library isn't libdl, we now get it right
   (HP-UX, for example, has libdld).
 * on systems where the library isn't necessary, we won't add anything
   (the BSDs, including Darwin)

Change-Id: Ibf8155fd664b426165e55a0b95bf6a2c33dbf1d0
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
parent 2e5b5046
DEFINES += EXTENSIONSYSTEM_LIBRARY
include(../../qtcreatorlibrary.pri)
unix:!macx:!freebsd*:LIBS += -ldl
unix:LIBS += $$QMAKE_LIBS_DYNLOAD
!isEmpty(vcproj) {
DEFINES += IDE_TEST_DIR=\"$$IDE_SOURCE_TREE\"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment