diff options
author | Mark Brand <mabrand@mabrand.nl> | 2010-07-02 16:30:35 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-07-02 16:41:08 (GMT) |
commit | eaf757a5c449e115ced427a0129fb2209fd09e29 (patch) | |
tree | ba186bbddbf5ac1489b2d7dad6ec230be0a2b152 /src/tools/bootstrap/bootstrap.pro | |
parent | 3f8a7df075f09c52f0684bbbe9a6214dde8df4ed (diff) | |
download | Qt-eaf757a5c449e115ced427a0129fb2209fd09e29.zip Qt-eaf757a5c449e115ced427a0129fb2209fd09e29.tar.gz Qt-eaf757a5c449e115ced427a0129fb2209fd09e29.tar.bz2 |
Consolidate zlib configuration redundancy
Merge-request: 715
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/tools/bootstrap/bootstrap.pro')
-rw-r--r-- | src/tools/bootstrap/bootstrap.pro | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro index 149291a..a74c9c1 100644 --- a/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro @@ -95,25 +95,8 @@ macx: { LIBS += -framework CoreServices } -contains(QT_CONFIG, zlib)|cross_compile { - INCLUDEPATH += ../../3rdparty/zlib - SOURCES+= \ - ../3rdparty/zlib/adler32.c \ - ../3rdparty/zlib/compress.c \ - ../3rdparty/zlib/crc32.c \ - ../3rdparty/zlib/deflate.c \ - ../3rdparty/zlib/gzio.c \ - ../3rdparty/zlib/inffast.c \ - ../3rdparty/zlib/inflate.c \ - ../3rdparty/zlib/inftrees.c \ - ../3rdparty/zlib/trees.c \ - ../3rdparty/zlib/uncompr.c \ - ../3rdparty/zlib/zutil.c -} else:!contains(QT_CONFIG, no-zlib) { - symbian:LIBS_PRIVATE += -llibz - else:if(unix|win32-g++*):LIBS_PRIVATE += -lz - else:LIBS += zdll.lib -} +if(contains(QT_CONFIG, zlib)|cross_compile):include(../../3rdparty/zlib.pri) +else:include(../../3rdparty/zlib_dependency.pri) lib.CONFIG = dummy_install INSTALLS += lib |