diff --git a/api/python/CMakeLists.txt b/api/python/CMakeLists.txt index 14bb064be8..daa3036780 100644 --- a/api/python/CMakeLists.txt +++ b/api/python/CMakeLists.txt @@ -75,7 +75,7 @@ if(APPLE) endif() -if (UNIX) +if (UNIX OR MUSL) if (LIEF_PYTHON_STATIC) set_target_properties(pyLIEF PROPERTIES SUFFIX ".a") else() diff --git a/api/rust/cargo/Cargo.toml b/api/rust/cargo/Cargo.toml index 1db4471b31..d64d296384 100644 --- a/api/rust/cargo/Cargo.toml +++ b/api/rust/cargo/Cargo.toml @@ -4,6 +4,17 @@ license = "Apache-2.0" description = "Official Rust bindings for LIEF." readme = "README.md" version = "0.15.0" +homepage = "https://lief.re" +keywords = ["ELF", "PE", "Mach-O", "reverse-engineering"] +repository = "https://github.com/lief-project/LIEF" +categories = [ + "api-bindings", + "development-tools::debugging", + "development-tools::profiling", + "development-tools::build-utils", + "parser-implementations", + "parsing" +] [workspace] members = [ diff --git a/doc/sphinx/changelog.rst b/doc/sphinx/changelog.rst index 3aeaca5bf9..dd4a1832b6 100644 --- a/doc/sphinx/changelog.rst +++ b/doc/sphinx/changelog.rst @@ -290,7 +290,7 @@ Changelog :Abstraction: - * `LIEF::EXE_FORMATS` is now scoped in `LIEF::Binary::FORMATS` + * ``LIEF::EXE_FORMATS`` is now scoped in ``LIEF::Binary::FORMATS`` * All the `Binary` classes now implement `classof`: .. code-block:: cpp diff --git a/package/CMakeLists.txt b/package/CMakeLists.txt index d9905379f0..8a3ea5aa4d 100644 --- a/package/CMakeLists.txt +++ b/package/CMakeLists.txt @@ -11,18 +11,20 @@ set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") set(CPACK_PACKAGE_HOMEPAGE_URL "https://lief-project.github.io/") set(CPACK_ARCH "${CMAKE_SYSTEM_PROCESSOR}") -if (UNIX) +if (UNIX OR MUSL) if(DEFINED CMAKE_OSX_ARCHITECTURES AND NOT "${CMAKE_OSX_ARCHITECTURES}" STREQUAL "") string(REPLACE ";" "-" CPACK_ARCH "${CMAKE_OSX_ARCHITECTURES}") endif() - set(CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CPACK_ARCH}") + if (IOS) + set(CPACK_SYSTEM_NAME "iOS-${CPACK_ARCH}") + else() + set(CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CPACK_ARCH}") + endif() set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}") endif() -if(UNIX AND NOT APPLE) # Linux - set(CPACK_GENERATOR "TGZ") - set(CPACK_SOURCE_GENERATOR "TGZ") -endif() +set(CPACK_GENERATOR "TGZ") +set(CPACK_SOURCE_GENERATOR "TGZ") if(UNIX AND APPLE) # OSX / iOS set(CPACK_GENERATOR "TGZ")