[USETUP] Use the smaller zlib_solo instead of the full zlib. CORE-14290
authorThomas Faber <thomas.faber@reactos.org>
Sat, 3 Feb 2018 13:36:40 +0000 (14:36 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 4 Feb 2018 11:54:39 +0000 (12:54 +0100)
base/setup/usetup/CMakeLists.txt
base/setup/usetup/cabinet.c

index 5922a4f..46034af 100644 (file)
@@ -40,7 +40,7 @@ if(USE_CLANG_CL)
     add_target_compile_flags(usetup "-Wno-invalid-source-encoding")
 endif()
 
-target_link_libraries(usetup zlib inflib ext2lib vfatlib)
+target_link_libraries(usetup zlib_solo inflib ext2lib vfatlib)
 set_module_type(usetup nativecui)
 add_importlibs(usetup ntdll)
 add_pch(usetup usetup.h SOURCE)
index 326d493..8cc35aa 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "usetup.h"
 
+#define Z_SOLO
 #include <zlib.h>
 
 #define NDEBUG