[BUGFIX] Added main.def

This commit is contained in:
hasherezade
2018-01-11 03:33:24 +01:00
parent f9aeb8689f
commit d2cfec8cd2
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ if(PESIEVE_AS_DLL)
${hdrs}
include/pe_sieve_api.h
)
add_library ( ${PROJECT_NAME} SHARED ${dll_hdrs} ${srcs} dll_main.cpp )
add_library ( ${PROJECT_NAME} SHARED ${dll_hdrs} ${srcs} dll_main.cpp main.def)
else()
add_executable ( ${PROJECT_NAME} ${hdrs} ${srcs} main.cpp )
endif()
+3
View File
@@ -0,0 +1,3 @@
LIBRARY pe-sieve
EXPORTS PESieve_help
EXPORTS PESieve_scan