aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-02-12 23:54:05 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-02-12 23:54:05 -0800
commita59f6dda5ee6874e859276bbc3066247d705a904 (patch)
tree6bd2e11d6abd06bbec09743c886865ff864868cb
parent6c380e057890094ce1e2c36ded5481675e139078 (diff)
downloadvcpkg-a59f6dda5ee6874e859276bbc3066247d705a904.tar.gz
vcpkg-a59f6dda5ee6874e859276bbc3066247d705a904.zip
[libepoxy] Disable static builds due to dllimport/export issues.
-rw-r--r--ports/libepoxy/CONTROL2
-rw-r--r--ports/libepoxy/portfile.cmake4
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/libepoxy/CONTROL b/ports/libepoxy/CONTROL
index 8ac70cd22..963a3e17a 100644
--- a/ports/libepoxy/CONTROL
+++ b/ports/libepoxy/CONTROL
@@ -1,3 +1,3 @@
Source: libepoxy
-Version: 1.4.0-2432daf
+Version: 1.4.0-2432daf-1
Description: Epoxy is a library for handling OpenGL function pointer management for you
diff --git a/ports/libepoxy/portfile.cmake b/ports/libepoxy/portfile.cmake
index 188cd3668..ef1880d16 100644
--- a/ports/libepoxy/portfile.cmake
+++ b/ports/libepoxy/portfile.cmake
@@ -1,3 +1,7 @@
+if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(STATUS "Warning: Static building not supported yet. Building dynamic.")
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
+endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libepoxy-2432daf4cf58b5ff11e008ca34811588285c43b3)