Skip to content

Commit

Permalink
Python: use correct name for bzip2 library built under Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrnz committed Nov 25, 2019
1 parent b1ac6ca commit a06e356
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/thirdParty/Python/CMakeLists.txt
Expand Up @@ -124,7 +124,7 @@ if(NOT APPLE)

set(BZIP2_LIBRARY ${BZIP2_SHARED_LIBRARY}.${BZIP2_VERSION})
else()
set(BZIP2_LIBRARY ${CMAKE_STATIC_LIBRARY_PREFIX}bz2${CMAKE_STATIC_LIBRARY_SUFFIX})
set(BZIP2_LIBRARY libbz2${CMAKE_STATIC_LIBRARY_SUFFIX})
endif()
endif()

Expand Down Expand Up @@ -254,7 +254,6 @@ else()
execute_process(COMMAND nmake -f makefile.msc lib
WORKING_DIRECTORY ${BZIP2_LIBRARY_DIR}
OUTPUT_QUIET)

else()
execute_process(COMMAND make -f Makefile-libbz2_so
WORKING_DIRECTORY ${BZIP2_LIBRARY_DIR}
Expand Down

0 comments on commit a06e356

Please sign in to comment.