]> granicus.if.org Git - taglib/commitdiff
More bundle fixes
authorScott Wheeler <wheeler@kde.org>
Fri, 1 Feb 2008 16:20:58 +0000 (16:20 +0000)
committerScott Wheeler <wheeler@kde.org>
Fri, 1 Feb 2008 16:20:58 +0000 (16:20 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

taglib/mpeg/id3v2/id3v2frame.cpp
taglib/mpeg/id3v2/id3v2framefactory.cpp
taglib/taglib.pro

index 0a849262cf61a64006b7e88cac95b6530ab5dee8..ae9e6ef3c98fb20043e79c7f210b522021c56d7c 100644 (file)
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
+#ifndef HAVE_ZLIB
 #include <config.h>
-
-#include <bitset>
+#endif
 
 #if HAVE_ZLIB
 #include <zlib.h>
 #endif
 
+#include <bitset>
+
 #include <tdebug.h>
 #include <tstringlist.h>
 
index 3b92a82454469917db0648edc433e82614e2486d..6cea10bc471f95c9e4b72f947c965711b7f7a1d8 100644 (file)
@@ -23,7 +23,9 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
+#ifndef HAVE_ZLIB
 #include <config.h>
+#endif
 
 #include <tdebug.h>
 
index ddc186e7e1492f647d9490355cadfabc617eee3c..49e2ddd102f88a3d36c433d7b82f84b9b898a2ca 100644 (file)
@@ -3,9 +3,10 @@
 ######################################################################
 
 TEMPLATE = lib
-CONFIG += lib_bundle staticlib
+CONFIG += lib_bundle
 CONFIG += x86 ppc
 CONFIG -= qt
+DEFINES += HAVE_ZLIB=1
 LIBS += -lz
 TARGET = TagLib
 VERSION = 1.5