Skip to content

Commit

Permalink
Use x86 7z.dll default path for 32 bit test app
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Oct 22, 2023
1 parent eedb4a9 commit 8068b91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/utils/shared_lib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ namespace test {

inline auto sevenzip_lib_path() -> tstring {
#ifdef BIT7Z_TESTS_USE_SYSTEM_7ZIP
#ifdef _WIN32
#ifdef _WIN64
static const tstring lib_path = BIT7Z_STRING( "C:\\Program Files\\7-Zip\\7z.dll" );
#elif defined( _WIN32 )
static const tstring lib_path = BIT7Z_STRING( "C:\\Program Files (x86)\\7-Zip\\7z.dll" );
#elif defined( __linux__ )
static const tstring lib_path = "/usr/lib/p7zip/7z.so"; //default installation path of p7zip's shared library
#else
Expand Down

0 comments on commit 8068b91

Please sign in to comment.