Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/lzo/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: lzo
Version: 2.10-4
Version: 2.10-5
Homepage: https://www.oberhumer.com/opensource/lzo/
Description: Lossless data compression library
2 changes: 1 addition & 1 deletion ports/lzo/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/libexec)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)

if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(READ ${CURRENT_PACKAGES_DIR}/include/lzo/lzoconf.h LZO_CONFIG)
string(REPLACE "# define __LZO_EXPORT1 /*empty*/"
"# define __LZO_EXPORT1 __declspec(dllimport)" LZO_CONFIG "${LZO_CONFIG}")
Expand Down