- Fix the importlib order for the GNU linker according to Amine's suggestion.
[reactos.git] / reactos / win32ss / printing / base / winspool / CMakeLists.txt
index f3ab3da..670959e 100644 (file)
@@ -16,7 +16,7 @@ add_library(winspool SHARED
 
 set_target_properties(winspool PROPERTIES SUFFIX ".drv")
 set_module_type(winspool win32dll UNICODE)
-target_link_libraries(winspool wine)
-add_importlibs(winspool kernel32 msvcrt ntdll rpcrt4)
+target_link_libraries(winspool wine ${PSEH_LIB})
+add_importlibs(winspool rpcrt4 msvcrt kernel32 ntdll)
 add_pch(winspool precomp.h SOURCE)
 add_cd_file(TARGET winspool DESTINATION reactos/system32 FOR all)