Skip to content

Commit

Permalink
Windows : export one more symbol from sysbench executable, for sysben…
Browse files Browse the repository at this point in the history
…ch-tpcc
  • Loading branch information
vaintroub committed Feb 18, 2024
1 parent adc31ac commit 3f29f85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lua/internal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ if(WIN32)
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_FILE ${sysbench_def}.tmp
COMMAND_ERROR_IS_FATAL ANY)
# Hack to get percona's tpcc running
file(APPEND ${sysbench_def}.tmp "\nsb_counter_inc")
configure_file(${sysbench_def}.tmp ${sysbench_def} COPYONLY)
file(REMOVE ${sysbench_def}.tmp)
target_sources(sysbench PRIVATE ${sysbench_def})
Expand Down

0 comments on commit 3f29f85

Please sign in to comment.