diff options
Diffstat (limited to 'ports/pystring')
| -rw-r--r-- | ports/pystring/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/pystring/CONTROL | 6 | ||||
| -rw-r--r-- | ports/pystring/portfile.cmake | 2 |
3 files changed, 5 insertions, 7 deletions
diff --git a/ports/pystring/CMakeLists.txt b/ports/pystring/CMakeLists.txt index 6fccf78d9..ecfdaa4fb 100644 --- a/ports/pystring/CMakeLists.txt +++ b/ports/pystring/CMakeLists.txt @@ -5,10 +5,6 @@ if(MSVC) add_compile_options(/W3 /wd4005 /wd4996 /wd4018 -D_CRT_SECURE_NO_WARNINGS) endif() -if(BUILD_SHARED_LIBS) - set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) -endif() - add_library(libpystring pystring.cpp) install( diff --git a/ports/pystring/CONTROL b/ports/pystring/CONTROL index 6b4f14035..9bdd7daf2 100644 --- a/ports/pystring/CONTROL +++ b/ports/pystring/CONTROL @@ -1,3 +1,3 @@ -Source: pystring -Version: 1.1.3-1 -Description: Pystring is a collection of C++ functions which match the interface and behavior of python's string class methods using std::string +Source: pystring
+Version: 1.1.3-2
+Description: Pystring is a collection of C++ functions which match the interface and behavior of python's string class methods using std::string
diff --git a/ports/pystring/portfile.cmake b/ports/pystring/portfile.cmake index d6e9700f8..8384bc018 100644 --- a/ports/pystring/portfile.cmake +++ b/ports/pystring/portfile.cmake @@ -1,5 +1,7 @@ include(vcpkg_common_functions) +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO imageworks/pystring |
