aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-05-10 15:52:21 -0700
committerGitHub <noreply@github.com>2018-05-10 15:52:21 -0700
commit9a19dae13a0fa594245db2df45ec54a504bc82f3 (patch)
treea1124b7b5d81606c6d7413bb7075e8bdbc6afad3
parent4099aa7295d39f28f7bdbac9bcd2a23826b44bd8 (diff)
parente7f2efbb83f68b849aa6f4e09e711db8904d3cc3 (diff)
downloadvcpkg-9a19dae13a0fa594245db2df45ec54a504bc82f3.tar.gz
vcpkg-9a19dae13a0fa594245db2df45ec54a504bc82f3.zip
Merge pull request #3472 from sanxiyn/brotli-linux
[brotli] Fix Linux build
-rw-r--r--ports/brotli/CONTROL2
-rw-r--r--ports/brotli/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/brotli/CONTROL b/ports/brotli/CONTROL
index 0c4d7eb0c..86d7a948b 100644
--- a/ports/brotli/CONTROL
+++ b/ports/brotli/CONTROL
@@ -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.
diff --git a/ports/brotli/portfile.cmake b/ports/brotli/portfile.cmake
index b4e33086e..1663f3b23 100644
--- a/ports/brotli/portfile.cmake
+++ b/ports/brotli/portfile.cmake
@@ -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)