aboutsummaryrefslogtreecommitdiff
path: root/ports/libproxy/fix-tools-path.patch
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-11-26 18:40:32 +0800
committerVictor Romero <romerosanchezv@gmail.com>2019-11-26 02:40:32 -0800
commit506299a173c565f64976be2a2d24a9efbc4f7117 (patch)
tree84846643a26e7d2af439289c6e8e4fa139e42e42 /ports/libproxy/fix-tools-path.patch
parent61dc5580d6e57ad4ad025a7d47d0af3de7998007 (diff)
downloadvcpkg-506299a173c565f64976be2a2d24a9efbc4f7117.tar.gz
vcpkg-506299a173c565f64976be2a2d24a9efbc4f7117.zip
[libmodman, libproxy] Add new ports (#8931)
* [libproxy]Add new port. * [libmodman]Add new port. * [libproxy]Support windows, set dependency libmodman. * Add usage, add vcpkg-cmake-wrapper.cmake to libproxy. * add empty line to usage. * [libmodman]Fix undefined typeid in Visual Studio 2019. * [libproxy]Fix install libproxy.py error when it not exist. * Disable arm/uwp build. * Enable static build on UNIX. * [libproxy]Re-generate patches, delete default feature tools and use system libmodman. * [libproxy]Disable install libproxy.py. * [libproxy]Disable install Libproxy.pm and PLlibproxy. * [libproxy]DISABLE PARALLEL CONFIGURE * [libproxy]Revert 6f233cced1a51a086e5fea5bf290565d9847d4b7 * [libmodman/libproxy]Fix arm build.
Diffstat (limited to 'ports/libproxy/fix-tools-path.patch')
-rw-r--r--ports/libproxy/fix-tools-path.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/ports/libproxy/fix-tools-path.patch b/ports/libproxy/fix-tools-path.patch
new file mode 100644
index 000000000..ba5061170
--- /dev/null
+++ b/ports/libproxy/fix-tools-path.patch
@@ -0,0 +1,27 @@
+diff --git a/libproxy/cmake/pxmodule.cmk b/libproxy/cmake/pxmodule.cmk
+index bbbd989..956948a 100644
+--- a/libproxy/cmake/pxmodule.cmk
++++ b/libproxy/cmake/pxmodule.cmk
+@@ -20,7 +20,7 @@ function(px_module name build builtin)
+ add_library(${name} MODULE modules/${name}.cpp)
+ target_link_libraries(${name} libproxy)
+ set_target_properties(${name} PROPERTIES PREFIX "")
+- install(TARGETS ${name} LIBRARY DESTINATION ${MODULE_INSTALL_DIR})
++ install(TARGETS ${name} LIBRARY DESTINATION tools)
+ if(${ARGC} GREATER 3)
+ target_link_libraries(${name} ${ARGN})
+ endif()
+diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
+index 52010c6..0a3f4b5 100644
+--- a/utils/CMakeLists.txt
++++ b/utils/CMakeLists.txt
+@@ -1,5 +1,7 @@
+ include_directories("../libproxy")
+
++if (BUILD_TOOLS)
+ add_executable(proxy proxy.c)
+ target_link_libraries(proxy libproxy)
+-install(TARGETS proxy RUNTIME DESTINATION ${BIN_INSTALL_DIR})
++install(TARGETS proxy RUNTIME DESTINATION tools)
++endif()
+\ No newline at end of file