Skip to content

Commit

Permalink
INSTALL: Document CMAKE_DLL_NAME_WITH_SOVERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
Larhzu committed Dec 27, 2024
1 parent 260d5d3 commit 8b7c55d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,25 @@ XZ Utils Installation
- CMake build uses /bin/sh except on Solaris the
default is /usr/xpg4/bin/sh.

CMAKE_DLL_NAME_WITH_SOVERSION=ON
CMake on native Windows (not Cygwin) only:

This changes the filename liblzma.dll to liblzma-5.dll.

The unversioned filename liblzma.dll has been used
since XZ Utils 5.0.0 when creating binary packages
using the included windows/build.bash. The same
unversioned filename is the default with CMake.
However, there are popular builds that, very
understandably and reasonably, use the versioned
filename produced by GNU Libtool.

This option should usually be left to its default value
(OFF). It can be set to ON if the liblzma DLL filename
must be compatible with the versioned filename
produced by GNU Libtool. For example, binaries
distributed in MSYS2 use a versioned DLL filename.


2.1. Static vs. dynamic linking of liblzma

Expand Down

0 comments on commit 8b7c55d

Please sign in to comment.