From 59b1a8a7915db29c07772d64c66dd0f7bfe9d3e6 Mon Sep 17 00:00:00 2001 From: Phoebe <20694052+PhoebeHui@users.noreply.github.com> Date: Tue, 7 Jan 2020 07:06:53 +0800 Subject: [liblzma] Fix issue that exports incorrect definition (#9192) --- ports/liblzma/CMakeLists.txt | 2 +- ports/liblzma/CONTROL | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/liblzma/CMakeLists.txt b/ports/liblzma/CMakeLists.txt index a9927c2b6..626655150 100644 --- a/ports/liblzma/CMakeLists.txt +++ b/ports/liblzma/CMakeLists.txt @@ -142,7 +142,7 @@ if(BUILD_SHARED_LIBS) else() target_compile_definitions(LibLZMA PUBLIC -DLZMA_API_STATIC) endif() -target_compile_definitions(LibLZMA PUBLIC -DHAVE_CONFIG_H) +target_compile_definitions(LibLZMA PRIVATE -DHAVE_CONFIG_H) target_include_directories(LibLZMA PUBLIC $ diff --git a/ports/liblzma/CONTROL b/ports/liblzma/CONTROL index 967b3b16c..1148fbb52 100644 --- a/ports/liblzma/CONTROL +++ b/ports/liblzma/CONTROL @@ -1,4 +1,4 @@ Source: liblzma -Version: 5.2.4-2 +Version: 5.2.4-3 Homepage: https://github.com/xz-mirror/xz Description: Compression library with an API similar to that of zlib. -- cgit v1.2.3