[CMAKE]: Don't prefix DLLs with "lib".
[reactos.git] / toolchain-mingw32.cmake
index 4f4b7aa..b9fa62b 100644 (file)
@@ -21,7 +21,7 @@ SET(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o <OBJ
 SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff -I${REACTOS_SOURCE_DIR}/include/ -I${REACTOS_BINARY_DIR}/include/reactos -i <SOURCE> -o <OBJECT> <DEFINES> -DRC_INVOKED")
 
 # Use stdcall fixups, and don't link with anything by default unless we say so
-set(CMAKE_C_STANDARD_LIBRARIES "") # We should add the environment libgcc here
+set(CMAKE_C_STANDARD_LIBRARIES "-lgcc") # We should add the environment libgcc here
 SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-stdcall-fixup -Wl,--kill-at -nodefaultlibs -nostdlib")
 
 # adjust the default behaviour of the FIND_XXX() commands: