Skip to content

Commit

Permalink
Merge pull request #3472 from sanxiyn/brotli-linux
Browse files Browse the repository at this point in the history
[brotli] Fix Linux build
  • Loading branch information
alexkaratarakis authored May 10, 2018
2 parents 4099aa7 + e7f2efb commit 9a19dae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/brotli/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: brotli
Version: 1.0.2-1
Version: 1.0.2-2
Description: a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling.
4 changes: 2 additions & 2 deletions ports/brotli/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()

file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/brotli)
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/brotli.exe ${CURRENT_PACKAGES_DIR}/tools/brotli/brotli.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/brotli.exe)
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/brotli${CMAKE_EXECUTABLE_SUFFIX} ${CURRENT_PACKAGES_DIR}/tools/brotli/brotli${CMAKE_EXECUTABLE_SUFFIX})
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/brotli${CMAKE_EXECUTABLE_SUFFIX})

vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/brotli)

Expand Down

0 comments on commit 9a19dae

Please sign in to comment.