]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Use short decompress option name for gzip compatibility. #1347
authorNathan Moinvaziri <nathan@nathanm.com>
Wed, 28 Sep 2022 16:38:06 +0000 (09:38 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 17 Mar 2023 20:27:56 +0000 (21:27 +0100)
Long option names in BusyBoxy is an optional feature, so use short option
names by default.

cmake/test-compress.cmake

index cfc7613ab242f263b0d6f4acb38c82bcccb71fc1..199796d8fee2d7cb83e1d520c238ba13e0a72b96 100644 (file)
@@ -173,7 +173,7 @@ if(GZIP_VERIFY AND NOT "${COMPRESS_ARGS}" MATCHES "-T")
         endif()
 
         # Check gzip can decompress our compressed output
-        set(GZ_DECOMPRESS_COMMAND ${GZIP} --decompress)
+        set(GZ_DECOMPRESS_COMMAND ${GZIP} -d)
 
         message(STATUS "Gzip decompress ${GZ_DECOMPRESS_COMMAND}")
         message(STATUS "  Input: ${OUTPUT_BASE}.gz")