- hopefully put an end to this embarassing succession by adding missing linkage to msvcrt where needed.
Than you ld, for getting symbols out of thin air
svn path=/trunk/; revision=58356
wine)
add_importlibs(dinput8
+ msvcrt
user32
advapi32
ole32
wine)
add_importlibs(dmusic
+ msvcrt
user32
advapi32
ole32
wine)
add_importlibs(dplay
+ msvcrt
user32
advapi32
ole32
winmm
dinput
dplayx
+ kernel32
ntdll)
add_dependencies(dplay psdk)
target_link_libraries(msdmo uuid wine mediaobj_guid)
add_importlibs(msdmo
+ msvcrt
user32
advapi32
ole32
target_link_libraries(comcat uuid wine)
-add_importlibs(comcat ole32 user32 advapi32 ntdll)
+add_importlibs(comcat msvcrt ole32 user32 advapi32 kernel32 ntdll)
add_dependencies(comcat psdk)
add_cd_file(TARGET comcat DESTINATION reactos/system32 FOR all)
set_module_type(mcicda win32dll)
target_link_libraries(mcicda wine)
-add_importlibs(mcicda winmm user32 kernel32 ntdll)
+add_importlibs(mcicda msvcrt winmm user32 kernel32 ntdll)
add_dependencies(mcicda psdk)
add_cd_file(TARGET mcicda DESTINATION reactos/system32 FOR all)
add_library(mmdrv SHARED ${SOURCE})
set_module_type(mmdrv win32dll UNICODE)
-add_importlibs(mmdrv winmm user32 kernel32 ntdll)
+add_importlibs(mmdrv msvcrt winmm user32 kernel32 ntdll)
add_dependencies(mmdrv psdk)
add_cd_file(TARGET mmdrv DESTINATION reactos/system32 FOR all)
target_link_libraries(msacm32.drv wine)
-add_importlibs(msacm32.drv msacm32 user32 winmm advapi32 kernel32 ntdll)
+add_importlibs(msacm32.drv msvcrt msacm32 user32 winmm advapi32 kernel32 ntdll)
add_dependencies(msacm32.drv psdk)
add_cd_file(TARGET msacm32.drv DESTINATION reactos/system32 FOR all)
target_link_libraries(nddeapi wine)
-add_importlibs(nddeapi kernel32 ntdll)
+add_importlibs(nddeapi msvcrt kernel32 ntdll)
add_dependencies(nddeapi psdk)
add_cd_file(TARGET nddeapi DESTINATION reactos/system32 FOR all)
add_library(olecli32 SHARED ${SOURCE})
set_module_type(olecli32 win32dll)
target_link_libraries(olecli32 wine)
-add_importlibs(olecli32 ole32 gdi32 kernel32 ntdll)
+add_importlibs(olecli32 msvcrt ole32 gdi32 kernel32 ntdll)
add_dependencies(olecli32 psdk)
add_cd_file(TARGET olecli32 DESTINATION reactos/system32 FOR all)
target_link_libraries(olepro32 wine)
add_importlibs(olepro32
+ msvcrt
oleaut32
kernel32
ntdll)
target_link_libraries(olesvr32 wine)
-add_importlibs(olesvr32 kernel32 ntdll)
+add_importlibs(olesvr32 msvcrt kernel32 ntdll)
add_dependencies(olesvr32 psdk)
add_cd_file(TARGET olesvr32 DESTINATION reactos/system32 FOR all)
add_library(rasapi32 SHARED ${SOURCE})
set_module_type(rasapi32 win32dll)
target_link_libraries(rasapi32 wine)
-add_importlibs(rasapi32 kernel32 ntdll)
+add_importlibs(rasapi32 msvcrt kernel32 ntdll)
add_dependencies(rasapi32 psdk)
add_cd_file(TARGET rasapi32 DESTINATION reactos/system32 FOR all)
set_module_type(samsrv win32dll UNICODE)
target_link_libraries(samsrv wine ${PSEH_LIB})
-add_importlibs(samsrv rpcrt4 advapi32 kernel32 ntdll)
+add_importlibs(samsrv msvcrt rpcrt4 advapi32 kernel32 ntdll)
add_dependencies(samsrv psdk)
add_cd_file(TARGET samsrv DESTINATION reactos/system32 FOR all)
add_library(sxs SHARED ${SOURCE})
set_module_type(sxs win32dll)
target_link_libraries(sxs wine)
-add_importlibs(sxs oleaut32 ole32 kernel32 ntdll)
+add_importlibs(sxs msvcrt oleaut32 ole32 kernel32 ntdll)
add_dependencies(sxs psdk)
add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)
target_link_libraries(tapi32 wine)
-add_importlibs(tapi32 advapi32 kernel32 ntdll)
+add_importlibs(tapi32 msvcrt advapi32 kernel32 ntdll)
add_dependencies(tapi32 psdk)
add_cd_file(TARGET tapi32 DESTINATION reactos/system32 FOR all)
target_link_libraries(updspapi wine)
-add_importlibs(updspapi setupapi kernel32 ntdll)
+add_importlibs(updspapi msvcrt setupapi kernel32 ntdll)
add_dependencies(updspapi psdk)
add_cd_file(TARGET updspapi DESTINATION reactos/system32 FOR all)
set_module_type(version win32dll)
target_link_libraries(version wine)
-add_importlibs(version kernel32 ntdll)
+add_importlibs(version msvcrt kernel32 ntdll)
add_dependencies(version psdk)
add_cd_file(TARGET version DESTINATION reactos/system32 FOR all)
target_link_libraries(midimap uuid wine)
-add_importlibs(midimap advapi32 user32 winmm kernel32 ntdll)
+add_importlibs(midimap advapi32 user32 winmm msvcrt kernel32 ntdll)
add_dependencies(midimap psdk)
add_cd_file(TARGET midimap DESTINATION reactos/system32 FOR all)
set_module_type(wshtcpip win32dll UNICODE)
target_link_libraries(wshtcpip tdilib)
-add_importlibs(wshtcpip ws2_32 kernel32 ntdll)
+add_importlibs(wshtcpip ws2_32 msvcrt kernel32 ntdll)
add_dependencies(wshtcpip psdk)
add_cd_file(TARGET wshtcpip DESTINATION reactos/system32 FOR all)