mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Fix private linking of LibLZMA
The current `liblzma` makes linke look for `libliblzma` as the `lib` prefix is added automatically. This is breaking static linking of library when using pkg-config for resolving dependencies.
This commit is contained in:
parent
94a9733eab
commit
41c93fb2d5
@ -305,7 +305,7 @@ if(MZ_LZMA)
|
||||
list(APPEND MINIZIP_LIB ${LIBLZMA_LIBRARIES})
|
||||
list(APPEND MINIZIP_LBD ${LIBLZMA_LIBRARY_DIRS})
|
||||
|
||||
set(PC_PRIVATE_LIBS "${PC_PRIVATE_LIBS} -lliblzma")
|
||||
set(PC_PRIVATE_LIBS "${PC_PRIVATE_LIBS} -llzma")
|
||||
elseif(MZ_FETCH_LIBS)
|
||||
set(BUILD_TESTING OFF CACHE BOOL "Build lzma tests" FORCE)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user