* Temporarily add liboldnames.a, I mean, oldnames.lib, to the importlibs folder, until we get one for msvc.
* Link crtdll to oldnames in msvc build.

svn path=/trunk/; revision=52350
This commit is contained in:
Amine Khaldi 2011-06-18 21:39:27 +00:00
parent 7f85f59d7a
commit 05b5738e62
3 changed files with 6 additions and 4 deletions

View file

@ -29,7 +29,7 @@ else()
set(SPEC2DEF_ARCH i386)
endif()
link_directories("${REACTOS_BINARY_DIR}/importlibs" ${REACTOS_BINARY_DIR}/lib/sdk/crt)
link_directories(${REACTOS_SOURCE_DIR}/importlibs ${REACTOS_BINARY_DIR}/importlibs ${REACTOS_BINARY_DIR}/lib/sdk/crt)
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <DEFINES> /I${REACTOS_SOURCE_DIR}/include/psdk /I${REACTOS_BINARY_DIR}/include/psdk /I${REACTOS_SOURCE_DIR}/include /I${REACTOS_SOURCE_DIR}/include/reactos /I${REACTOS_BINARY_DIR}/include/reactos /I${REACTOS_SOURCE_DIR}/include/reactos/wine /I${REACTOS_SOURCE_DIR}/include/crt /I${REACTOS_SOURCE_DIR}/include/crt/mingw32 /fo <OBJECT> <SOURCE>")

View file

@ -23,9 +23,11 @@ set_module_type(crtdll win32dll)
set_entrypoint(crtdll DllMain@12)
target_link_libraries(crtdll
wine
crt)
target_link_libraries(crtdll wine crt)
if(MSVC)
target_link_libraries(crtdll oldnames)
endif()
add_importlibs(crtdll kernel32 ntdll)
add_pch(crtdll precomp.h)

Binary file not shown.